Skip to content

Commit

Permalink
enable multiplatform build
Browse files Browse the repository at this point in the history
docker
  • Loading branch information
loan-mgt committed May 13, 2024
1 parent f577213 commit 3a09219
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Enable experimental features
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64, linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

env:
DOCKER_BUILDKIT: 1

0 comments on commit 3a09219

Please sign in to comment.