Skip to content

Commit f24e02d

Browse files
committed
Add multi-platform Docker build (amd64 + arm64)
1 parent 121639b commit f24e02d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
username: ${{ github.actor }}
2727
password: ${{ secrets.GITHUB_TOKEN }}
2828

29+
- name: Set up QEMU
30+
uses: docker/setup-qemu-action@v3
31+
32+
- name: Set up Docker Buildx
33+
uses: docker/setup-buildx-action@v3
34+
2935
- name: Extract metadata
3036
id: meta
3137
uses: docker/metadata-action@v5
@@ -42,6 +48,7 @@ jobs:
4248
uses: docker/build-push-action@v6
4349
with:
4450
context: .
51+
platforms: linux/amd64,linux/arm64
4552
push: true
4653
tags: ${{ steps.meta.outputs.tags }}
4754
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)