Skip to content

Commit 755655f

Browse files
authored
Update docker-publish.yml
1 parent 25439ba commit 755655f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,22 @@ jobs:
5050
with:
5151
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5252

53+
- name: Set up QEMU
54+
uses: docker/setup-qemu-action@master
55+
with:
56+
platforms: all
57+
58+
- name: Set up Docker Buildx
59+
id: buildx
60+
uses: docker/setup-buildx-action@master
61+
5362
# Build and push Docker image with Buildx (don't push on PR)
5463
# https://github.com/docker/build-push-action
5564
- name: Build and push Docker image
5665
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
5766
with:
67+
builder: ${{ steps.buildx.outputs.name }}
68+
platforms: linux/amd64,linux/arm64
5869
context: .
5970
push: ${{ github.event_name != 'pull_request' }}
6071
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)