Skip to content

Commit a9bcaf7

Browse files
committed
Multi-arch image
1 parent 98b8807 commit a9bcaf7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

+7
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
- name: Checkout repository
2626
uses: actions/checkout@v2
2727

28+
- name: Set up QEMU
29+
uses: docker/setup-qemu-action@v1
30+
31+
- name: Set up Docker Buildx
32+
uses: docker/setup-buildx-action@v1
33+
2834
- name: Log in to the Container registry
2935
uses: docker/login-action@v1
3036
with:
@@ -44,6 +50,7 @@ jobs:
4450
uses: docker/build-push-action@v2
4551
with:
4652
context: .
53+
platforms: linux/amd64,linux/arm64
4754
push: ${{ github.event_name != 'pull_request' }}
4855
tags: ${{ steps.meta.outputs.tags }}
4956
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)