Skip to content

Commit c326a47

Browse files
committed
update the workflows to test the artifacts and docker images on arm64 runners
1 parent 7bc87f4 commit c326a47

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
@@ -47,14 +47,17 @@ jobs:
4747
-
4848
name: Set up Docker
4949
uses: crazy-max/ghaction-setup-docker@v3
50+
if: inputs.runner != 'ubuntu-latest-arm64'
5051
with:
5152
daemon-config: '{ "features": { "containerd-snapshotter": true } }'
5253
-
5354
name: Setup QEMU
5455
uses: docker/setup-qemu-action@v3
56+
if: inputs.runner != 'ubuntu-latest-arm64'
5557
-
5658
name: Setup Docker Buildx
5759
uses: docker/setup-buildx-action@v3
60+
if: inputs.runner != 'ubuntu-latest-arm64'
5861
with:
5962
version: 'latest'
6063
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
@@ -34,14 +34,17 @@ jobs:
3434
-
3535
name: Set up Docker
3636
uses: crazy-max/ghaction-setup-docker@v3
37+
if: inputs.runner != 'ubuntu-latest-arm64'
3738
with:
3839
daemon-config: '{ "features": { "containerd-snapshotter": true } }'
3940
-
4041
name: Setup QEMU
4142
uses: docker/setup-qemu-action@v3
43+
if: inputs.runner != 'ubuntu-latest-arm64'
4244
-
4345
name: Setup Docker Buildx
4446
uses: docker/setup-buildx-action@v3
47+
if: inputs.runner != 'ubuntu-latest-arm64'
4548
with:
4649
version: 'latest'
4750
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
@@ -68,7 +68,7 @@ jobs:
6868
- arch: amd64
6969
runner: ubuntu-latest
7070
- arch: arm64
71-
runner: ubuntu-latest
71+
runner: ubuntu-latest-arm64
7272
uses: ./.github/workflows/_artifacts_linux.yml
7373
with:
7474
runner: ${{ matrix.runner }}
@@ -84,7 +84,7 @@ jobs:
8484
- arch: amd64
8585
runner: ubuntu-latest
8686
- arch: arm64
87-
runner: ubuntu-latest
87+
runner: ubuntu-latest-arm64
8888

8989
uses: ./.github/workflows/_docker.yml
9090
with:

0 commit comments

Comments
 (0)