Skip to content

Commit 6d4ce64

Browse files
committed
Fix build being skipped
1 parent 332ce2c commit 6d4ce64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
password: ${{ secrets.GITHUB_TOKEN }}
5656

5757
- name: Build and push all platforms
58-
if: github.event_name != 'pull_request'
5958
uses: docker/build-push-action@v4
6059
with:
61-
push: true
60+
# Always build, but don't push to container registries on PRs.
61+
push: ${{ github.event_name != 'pull_request' }}
6262
labels: "gitsha1=${{ github.sha }}"
6363
tags: "${{ steps.set-tag.outputs.tags }}"
6464
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)