Skip to content

Commit 4f583a2

Browse files
committed
multi platform docker build
1 parent f6b4958 commit 4f583a2

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/dockerhub-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v4
1818

19+
- name: Set up QEMU (multi-arch emulation)
20+
uses: docker/setup-qemu-action@v3
21+
with:
22+
platforms: all
23+
1924
- name: Set up Docker Buildx
2025
uses: docker/setup-buildx-action@v3
2126

@@ -45,7 +50,7 @@ jobs:
4550
push: ${{ github.event_name != 'pull_request' }}
4651
tags: ${{ steps.meta.outputs.tags }}
4752
labels: ${{ steps.meta.outputs.labels }}
48-
platforms: linux/amd64
53+
platforms: linux/amd64,linux/arm64
4954
cache-from: type=gha
5055
cache-to: type=gha,mode=max
5156

0 commit comments

Comments
 (0)