Skip to content

Commit 5449115

Browse files
committed
ci : renable arm64 docker builds
This commit re-enables the arm64 docker images builds which were removed in Commit 9366544 ("ci : fix arm builds"). It also uses ubuntu-24.04-arm as the runner which enables us to avoid QEMU.
1 parent 6dcdd65 commit 5449115

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/docker.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,25 @@ jobs:
99
push_to_registry:
1010
name: Push Docker image to Docker Hub
1111

12-
runs-on: ubuntu-22.04
12+
runs-on: ${{ matrix.config.runs_on }}
1313
env:
1414
COMMIT_SHA: ${{ github.sha }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
1818
config:
19-
- { tag: "main", dockerfile: ".devops/main.Dockerfile", platform: "linux/amd64" }
20-
- { tag: "main-musa", dockerfile: ".devops/main-musa.Dockerfile", platform: "linux/amd64" }
21-
- { tag: "main-intel", dockerfile: ".devops/main-intel.Dockerfile", platform: "linux/amd64" }
22-
- { tag: "main-cuda", dockerfile: ".devops/main-cuda.Dockerfile", platform: "linux/amd64" }
23-
- { tag: "main-vulkan", dockerfile: ".devops/main-vulkan.Dockerfile", platform: "linux/amd64" }
19+
- { tag: "main", dockerfile: ".devops/main.Dockerfile", platform: "linux/amd64", runs_on: "ubuntu-24.04" }
20+
- { tag: "main-arm64", dockerfile: ".devops/main.Dockerfile", platform: "linux/arm64", runs_on: "ubuntu-24.04-arm" }
21+
- { tag: "main-musa", dockerfile: ".devops/main-musa.Dockerfile", platform: "linux/amd64", runs_on: "ubuntu-24.04" }
22+
- { tag: "main-intel", dockerfile: ".devops/main-intel.Dockerfile", platform: "linux/amd64", runs_on: "ubuntu-24.04" }
23+
- { tag: "main-cuda", dockerfile: ".devops/main-cuda.Dockerfile", platform: "linux/amd64", runs_on: "ubuntu-24.04" }
24+
- { tag: "main-vulkan", dockerfile: ".devops/main-vulkan.Dockerfile", platform: "linux/amd64", runs_on: "ubuntu-24.04" }
25+
- { tag: "main-vulkan-arm64", dockerfile: ".devops/main-vulkan.Dockerfile", platform: "linux/arm64", runs_on: "ubuntu-24.04-arm" }
2426

2527
steps:
2628
- name: Check out the repo
2729
uses: actions/checkout@v6
2830

29-
- name: Set up QEMU
30-
uses: docker/setup-qemu-action@v3
31-
with:
32-
image: tonistiigi/binfmt:qemu-v7.0.0-28
33-
3431
- name: Set up Docker Buildx
3532
uses: docker/setup-buildx-action@v3
3633

@@ -69,7 +66,8 @@ jobs:
6966
uses: docker/build-push-action@v6
7067
with:
7168
context: .
72-
push: ${{ github.event_name == 'push' }}
69+
#push: ${{ github.event_name == 'push' }}
70+
push: false # just for testing this on my fork
7371
platforms: ${{ matrix.config.platform }}
7472
tags: ${{ steps.tags.outputs.tags }}
7573
file: ${{ matrix.config.dockerfile }}

0 commit comments

Comments
 (0)