Skip to content

Commit 8f86646

Browse files
committed
ci: build multiarch docker images
1 parent 5222e94 commit 8f86646

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
steps:
1717
- name: Check out the repo
1818
uses: actions/checkout@v2
19+
20+
- name: Set up QEMU
21+
uses: docker/setup-qemu-action@v1
22+
23+
- name: Set up Docker Buildx
24+
uses: docker/setup-buildx-action@v1
1925

2026
- name: Log in to Docker Hub
2127
uses: docker/login-action@v1
@@ -33,6 +39,7 @@ jobs:
3339
uses: docker/build-push-action@v2
3440
with:
3541
context: .
42+
platforms: linux/amd64,linux/arm64
3643
push: true
3744
tags: ${{ steps.meta.outputs.tags }}
3845
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)