Skip to content

Commit 94e20f3

Browse files
committed
Enable arm64 build
1 parent 4d978fb commit 94e20f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-container-image.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- name: Install cosign
2424
if: github.event_name != 'pull_request'
2525
uses: sigstore/cosign-installer@v3
26+
- name: Set up QEMU
27+
uses: docker/setup-qemu-action@v3
2628
- name: Set up Docker Buildx
2729
uses: docker/setup-buildx-action@v3
2830
- name: Log into registry ${{env.REGISTRY}}
@@ -39,9 +41,9 @@ jobs:
3941
images: ${{env.REGISTRY}}/${{env.IMAGE_NAME}}
4042
- name: Build and push Docker image
4143
id: build-and-push
42-
uses: docker/build-push-action@v5
44+
uses: docker/build-push-action@v6
4345
with:
44-
context: .
46+
platforms: linux/amd64,linux/arm64
4547
push: ${{github.event_name != 'pull_request'}}
4648
tags: ${{steps.meta.outputs.tags}}
4749
labels: ${{steps.meta.outputs.labels}}

0 commit comments

Comments
 (0)