We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 332ce2c commit 6d4ce64Copy full SHA for 6d4ce64
.github/workflows/docker.yaml
@@ -55,10 +55,10 @@ jobs:
55
password: ${{ secrets.GITHUB_TOKEN }}
56
57
- name: Build and push all platforms
58
- if: github.event_name != 'pull_request'
59
uses: docker/build-push-action@v4
60
with:
61
- push: true
+ # Always build, but don't push to container registries on PRs.
+ push: ${{ github.event_name != 'pull_request' }}
62
labels: "gitsha1=${{ github.sha }}"
63
tags: "${{ steps.set-tag.outputs.tags }}"
64
platforms: linux/amd64,linux/arm64
0 commit comments