Skip to content

Commit

Permalink
WIP: multi-platform build
Browse files Browse the repository at this point in the history
  • Loading branch information
atmoz committed Jul 15, 2024
1 parent 8a88b8f commit 88bb89d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,17 @@ jobs:
with:
submodules: true # for shunit2

- name: Set up QEMU
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
#docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Build image
run: |
docker build . \
docker buildx create --use
docker buildx build . \
--platform linux/amd64,linux/arm64 \
--pull=true \
--file="${{ inputs.containerfile }}" \
--tag="${{ inputs.image }}:${{ inputs.tag }}" \
Expand Down

0 comments on commit 88bb89d

Please sign in to comment.