Skip to content

Commit cb662b4

Browse files
pastudanmceachen
authored andcommitted
add arm64 docker support
1 parent 1f6d907 commit cb662b4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/docker-build.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
- name: Checkout
2323
uses: actions/[email protected]
2424

25+
- name: Set up QEMU
26+
id: qemu
27+
uses: docker/setup-qemu-action@v1
28+
with:
29+
platforms: arm64
30+
2531
- name: Set up Buildx
2632
id: buildx
2733
uses: docker/[email protected]
@@ -66,7 +72,7 @@ jobs:
6672
with:
6773
context: .
6874
file: ./Dockerfile
69-
platforms: linux/amd64
75+
platforms: linux/amd64,linux/arm64
7076
push: ${{ github.event_name != 'pull_request' }}
7177
tags: ${{ steps.meta.outputs.tags }}
7278
cache-from: type=local,src=/tmp/.buildx-cache
@@ -78,4 +84,4 @@ jobs:
7884
name: Move cache
7985
run: |
8086
rm -rf /tmp/.buildx-cache
81-
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
87+
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

0 commit comments

Comments
 (0)