0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2025-01-26 13:50:57 -05:00

WIP: multi-platform build

This commit is contained in:
Adrian Dvergsdal 2024-07-15 19:44:46 +02:00
parent 8a88b8f201
commit 88bb89d159
No known key found for this signature in database
GPG key ID: C1E9E2D9552A42D2

View file

@ -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 }}" \