Skip to content

Commit 041fbba

Browse files
committed
update the workflows to test the artifacts and docker images on arm64 runners
1 parent 330c155 commit 041fbba

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/_docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,17 @@ jobs:
4444
-
4545
name: Set up Docker
4646
uses: crazy-max/ghaction-setup-docker@v3
47+
if: inputs.runner != 'ubuntu-latest-arm64'
4748
with:
4849
daemon-config: '{ "features": { "containerd-snapshotter": true } }'
4950
-
5051
name: Setup QEMU
5152
uses: docker/setup-qemu-action@v3
53+
if: inputs.runner != 'ubuntu-latest-arm64'
5254
-
5355
name: Setup Docker Buildx
5456
uses: docker/setup-buildx-action@v3
57+
if: inputs.runner != 'ubuntu-latest-arm64'
5558
with:
5659
version: 'latest'
5760
driver-opts: 'image=moby/buildkit:buildx-stable-1'

.github/workflows/_docker_manifests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,17 @@ jobs:
3232
-
3333
name: Set up Docker
3434
uses: crazy-max/ghaction-setup-docker@v3
35+
if: inputs.runner != 'ubuntu-latest-arm64'
3536
with:
3637
daemon-config: '{ "features": { "containerd-snapshotter": true } }'
3738
-
3839
name: Setup QEMU
3940
uses: docker/setup-qemu-action@v3
41+
if: inputs.runner != 'ubuntu-latest-arm64'
4042
-
4143
name: Setup Docker Buildx
4244
uses: docker/setup-buildx-action@v3
45+
if: inputs.runner != 'ubuntu-latest-arm64'
4346
with:
4447
version: 'latest'
4548
driver-opts: 'image=moby/buildkit:buildx-stable-1'

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- arch: amd64
7373
runner: ubuntu-latest
7474
- arch: arm64
75-
runner: ubuntu-latest
75+
runner: ubuntu-latest-arm64
7676
uses: ./.github/workflows/_artifacts_linux.yml
7777
with:
7878
runner: ${{ matrix.runner }}
@@ -90,7 +90,7 @@ jobs:
9090
- arch: amd64
9191
runner: ubuntu-latest
9292
- arch: arm64
93-
runner: ubuntu-latest
93+
runner: ubuntu-latest-arm64
9494

9595
uses: ./.github/workflows/_docker.yml
9696
with:

0 commit comments

Comments
 (0)