Skip to content

Commit b287d89

Browse files
authored
ci: Utilize naitve arm64 linux runners
This should speed up docker image build process during tests and wipe out one of dependencies
1 parent 917f4d0 commit b287d89

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build-image-test.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ jobs:
1111
build:
1212
strategy:
1313
matrix:
14-
os: [ubuntu-latest]
15-
arch: [amd64, arm64]
14+
os:
15+
- ubuntu-latest
16+
- ubuntu-24.04-arm
17+
1618

1719
runs-on: ${{ matrix.os }}
1820
steps:
@@ -32,13 +34,6 @@ jobs:
3234
.github/workflows/build-image-test.yaml
3335
tools/*.sh
3436
35-
- name: Set up QEMU
36-
if: matrix.os != 'ubuntu-latest' || matrix.arch != 'amd64'
37-
# yamllint disable-line rule:line-length
38-
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
39-
with:
40-
platforms: arm64
41-
4237
- name: Set up Docker Buildx
4338
# yamllint disable-line rule:line-length
4439
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
@@ -86,7 +81,6 @@ jobs:
8681
if: >-
8782
steps.changed-files-specific.outputs.any_changed == 'true'
8883
&& matrix.os == 'ubuntu-latest'
89-
&& matrix.arch == 'amd64'
9084
# yamllint disable-line rule:line-length
9185
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
9286
with:

0 commit comments

Comments
 (0)