diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b979cf..1d5a6f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: uses: docker/build-push-action@v2 with: context: . - platforms: linux/amd64,linux/arm,linux/arm64 - push: ${{ github.event_name != 'pull_request' }} + platforms: fromJSON('["linux/amd64,linux/arm,linux/arm64", "linux/amd64"]')[github.event_name == 'pull_request'] + push: yes tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}