change multiarch version tag

This commit is contained in:
Jerry Ma 2022-08-16 12:42:22 +08:00 committed by GitHub
parent 0fbef677ca
commit 464eca3588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,9 +22,9 @@ jobs:
cd docker/
if [[ "${{ matrix.arch }}" != "x86_64" ]]; then
if [[ "${{ matrix.arch }}" = "armv7l" ]]; then
sed -ie 's/alpine:latest/multiarch\/alpine:armv7-v3.14/g' Dockerfile
sed -ie 's/alpine:latest/multiarch\/alpine:armv7-latest-stable/g' Dockerfile
else
sed -ie 's/alpine:latest/multiarch\/alpine:${{ matrix.arch }}-v3.14/g' Dockerfile
sed -ie 's/alpine:latest/multiarch\/alpine:${{ matrix.arch }}-latest-stable/g' Dockerfile
fi
docker run --rm --privileged multiarch/qemu-user-static:register --reset
fi