Skip to content

Commit 6eeba03

Browse files
committed
Try building multi-arch image
Signed-off-by: Rhea Danzey <[email protected]>
1 parent 5980c35 commit 6eeba03

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@ jobs:
2424
- name: Checkout repository
2525
uses: actions/checkout@v2
2626

27+
- name: Set up QEMU
28+
uses: docker/setup-qemu-action@v2
29+
with:
30+
platforms: 'arm64,arm'
31+
32+
- name: Set up Docker Buildx
33+
uses: docker/setup-buildx-action@v2
34+
2735
- name: Log into registry ${{ env.REGISTRY }}
28-
uses: docker/login-action@v1
36+
uses: docker/login-action@v2
2937
with:
3038
registry: ${{ env.REGISTRY }}
3139
username: ${{ github.actor }}
@@ -38,7 +46,7 @@ jobs:
3846
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3947

4048
- name: Build and push Docker image
41-
uses: docker/build-push-action@v2
49+
uses: docker/build-push-action@v3
4250
with:
4351
push: ${{ github.event_name != 'pull_request' }}
4452
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)