Skip to content

Commit bcf7734

Browse files
committed
ci: Add arm64 architecture to docker_cache job
1 parent b77aae9 commit bcf7734

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,18 @@ env:
4646

4747
jobs:
4848
docker_cache:
49-
name: "Build Docker image"
50-
runs-on: ubuntu-latest
49+
name: "Build ${{ matrix.arch }} Docker image"
50+
runs-on: ${{ matrix.runner }}
51+
52+
strategy:
53+
fail-fast: false
54+
matrix:
55+
include:
56+
- arch: x64
57+
runner: ubuntu-latest
58+
- arch: arm64
59+
runner: ubuntu-24.04-arm
60+
5161
steps:
5262
- name: Set up Docker Buildx
5363
uses: docker/setup-buildx-action@v3
@@ -60,7 +70,7 @@ jobs:
6070
uses: docker/build-push-action@v5
6171
with:
6272
file: ./ci/linux-debian.Dockerfile
63-
tags: x64-debian-image
73+
tags: ${{ matrix.arch }}-debian-image
6474
cache-from: type=gha
6575
cache-to: type=gha,mode=min
6676

0 commit comments

Comments
 (0)