Skip to content

Commit daf85d5

Browse files
committed
feat: extend to publish for arm as well as x86
Signed-off-by: Michael Dawson <midawson@redhat.com>
1 parent 03451a2 commit daf85d5

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
id-token: write
2424
#
2525
steps:
26+
- name: Set up QEMU
27+
uses: docker/setup-qemu-action@v3
28+
29+
- name: Set up Docker Buildx
30+
uses: docker/setup-buildx-action@v3
31+
2632
- name: Checkout repository
2733
uses: actions/checkout@v4
2834

@@ -44,6 +50,7 @@ jobs:
4450
id: push
4551
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
4652
with:
53+
platforms: linux/amd64,linux/arm64
4754
context: "{{defaultContext}}:container-build-info"
4855
push: true
4956
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)