diff --git a/.github/workflows/deploy_docker_images.yml b/.github/workflows/deploy_docker_images.yml new file mode 100644 index 0000000..ca1f025 --- /dev/null +++ b/.github/workflows/deploy_docker_images.yml @@ -0,0 +1,28 @@ +name: 🐳 Docker Image Deployment + +on: + workflow_dispatch: + release: + types: [published] + +jobs: + build: + name: Push docker images to docker hub + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v4 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Build processor image + id: build-processor-docker-image + run: make build -C ./services/processor + + - name: Push processor image + id: push-processor-docker-image + run: make dist -C ./services/processor