Skip to content

Commit 82acfd6

Browse files
committed
Add qemu for arm
1 parent 7f41baf commit 82acfd6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
username: ${{ github.actor }}
3333
password: ${{ secrets.GITHUB_TOKEN }}
3434

35+
- name: Set up QEMU
36+
uses: docker/setup-qemu-action@v3
37+
3538
- name: Build and export to Docker local cache
3639
uses: docker/build-push-action@v6
3740
env:
@@ -40,6 +43,7 @@ jobs:
4043
context: .
4144
# Need load and tags so we can test it below
4245
load: true
46+
platforms: linux/amd64,linux/arm64
4347
tags: tag_for_testing
4448

4549
- name: Test cli works in cached runtime image
@@ -65,5 +69,6 @@ jobs:
6569
with:
6670
context: .
6771
push: true
72+
platforms: linux/amd64,linux/arm64
6873
tags: ${{ steps.meta.outputs.tags }}
6974
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)