Skip to content

Commit 9d15b07

Browse files
committed
Build diagnostics client for arm64
1 parent 6bbaefe commit 9d15b07

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v6
1616

17+
- name: Set up QEMU
18+
uses: docker/setup-qemu-action@v3
1719
- name: Set up Docker Buildx
1820
uses: docker/setup-buildx-action@v3
1921

2022
- name: Build Image
2123
uses: docker/build-push-action@v5
2224
with:
23-
platforms: linux/amd64
25+
platforms: linux/arm64,linux/amd64
2426
cache-from: type=registry,ref=${{vars.DIAGNOSTICS_DOCKER_REGISTRY}}:latest
2527
context: .
2628
file: ./tools/diagnostics-app/Dockerfile

.github/workflows/diagnostics-image-release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@v6
2121

22+
- name: Set up QEMU
23+
uses: docker/setup-qemu-action@v3
2224
- name: Set up Docker Buildx
2325
uses: docker/setup-buildx-action@v3
2426

@@ -36,7 +38,7 @@ jobs:
3638
- name: Build Image and Push
3739
uses: docker/build-push-action@v5
3840
with:
39-
platforms: linux/amd64
41+
platforms: linux/arm64,linux/amd64
4042
cache-from: type=registry,ref=${{vars.DIAGNOSTICS_DOCKER_REGISTRY}}:latest
4143
context: .
4244
tags: ${{vars.DIAGNOSTICS_DOCKER_REGISTRY}}:latest,${{vars.DIAGNOSTICS_DOCKER_REGISTRY}}:${{steps.get_version.outputs.IMAGE_VERSION}}

0 commit comments

Comments
 (0)