mirror of
https://github.com/lukstep/raspberry-pi-pico-docker-sdk.git
synced 2025-12-22 18:45:56 +03:00
Arm build (#14)
This commit is contained in:
11
.github/workflows/sdk-ci.yml
vendored
11
.github/workflows/sdk-ci.yml
vendored
@@ -19,8 +19,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
load: true
|
load: true
|
||||||
@@ -28,7 +32,7 @@ jobs:
|
|||||||
- name: Test SDK
|
- name: Test SDK
|
||||||
run: bash ./test_sdk.sh ${{ env.TEST_TAG }}
|
run: bash ./test_sdk.sh ${{ env.TEST_TAG }}
|
||||||
- name: Log into Docker Hub
|
- name: Log into Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
@@ -39,9 +43,10 @@ jobs:
|
|||||||
images: lukstep/raspberry-pi-pico-sdk
|
images: lukstep/raspberry-pi-pico-sdk
|
||||||
- name: Push SDK image
|
- name: Push SDK image
|
||||||
if: github.event_name == 'release' && github.event.action == 'published'
|
if: github.event_name == 'release' && github.event.action == 'published'
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|||||||
Reference in New Issue
Block a user