Skip to content

Commit 341a939

Browse files
committed
build for both amd64 and arm64
1 parent 5eb969e commit 341a939

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker-publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@ jobs:
7676
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
7777
with:
7878
context: .
79-
push: ${{ github.event_name != 'pull_request' }}
79+
push: ${{ github.event_name != 'null' }}
8080
tags: ${{ steps.meta.outputs.tags }}
8181
labels: ${{ steps.meta.outputs.labels }}
8282
cache-from: type=gha
8383
cache-to: type=gha,mode=max
84+
platforms: linux/amd64,linux/arm64
8485

8586
# Sign the resulting Docker image digest except on PRs.
8687
# This will only write to the public Rekor transparency log when the Docker

0 commit comments

Comments
 (0)