Skip to content

Commit 44f236e

Browse files
authored
Arm build (#14)
1 parent 002d69b commit 44f236e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/sdk-ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,20 @@ jobs:
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v3
22+
- name: Set up QEMU
23+
uses: docker/setup-qemu-action@v3
24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v3
2226
- name: Build SDK
23-
uses: docker/build-push-action@v4
27+
uses: docker/build-push-action@v6
2428
with:
2529
context: .
2630
load: true
2731
tags: ${{ env.TEST_TAG }}
2832
- name: Test SDK
2933
run: bash ./test_sdk.sh ${{ env.TEST_TAG }}
3034
- name: Log into Docker Hub
31-
uses: docker/login-action@v2
35+
uses: docker/login-action@v3
3236
with:
3337
username: ${{ github.actor }}
3438
password: ${{ secrets.DOCKER_HUB_TOKEN }}
@@ -39,9 +43,10 @@ jobs:
3943
images: lukstep/raspberry-pi-pico-sdk
4044
- name: Push SDK image
4145
if: github.event_name == 'release' && github.event.action == 'published'
42-
uses: docker/build-push-action@v4
46+
uses: docker/build-push-action@v6
4347
with:
4448
context: .
4549
push: true
4650
tags: ${{ steps.meta.outputs.tags }}
4751
labels: ${{ steps.meta.outputs.labels }}
52+
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)