diff --git a/.github/workflows/push-docker-image.yml b/.github/workflows/push-docker-image.yml index 4ce13c7a..a00b5823 100644 --- a/.github/workflows/push-docker-image.yml +++ b/.github/workflows/push-docker-image.yml @@ -10,7 +10,7 @@ on: jobs: push: runs-on: ubuntu-latest - if: github.event_name == 'push' + # if: github.event_name == 'push' steps: # Use the release name as the image tag if we're building an open release tag. @@ -42,13 +42,14 @@ jobs: - name: Build and push Dev Docker image uses: docker/build-push-action@v5 with: - push: true + # push: true + push: ${{ github.event_name == 'pull_request' }} target: dev tags: ${{ steps.get-tag-name.outputs.result }},${{ github.sha }} platforms: linux/amd64,linux/arm64 # - name: Build and push prod Docker image - # uses: docker/build-push-action@v4 + # uses: docker/build-push-action@v5 # with: # push: true # target: prod