Skip to content

Commit b54d1c0

Browse files
committed
_
1 parent b360b8f commit b54d1c0

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
if: runner.os == 'macOS'
6161
run: ./build.libgit2.sh
6262
- name: Setup QEMU
63-
if: matrix.name == 'linux-musl-arm' || matrix.name == 'linux-musl-arm64'
64-
run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
63+
if: runner.os == 'Linux'
64+
run: docker run --privileged --rm tonistiigi/binfmt --install all
6565
- name: Build Linux
6666
if: runner.os == 'Linux'
6767
run: ./dockerbuild.sh

dockerbuild.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
set -e
44
echo "building for $RID"
55

6-
alpineVersion=3.20
7-
uname -a
6+
alpineVersion=3.13
87

98
if [[ $RID =~ arm64 ]]; then
109
arch="arm64"
@@ -25,7 +24,6 @@ else
2524
dockerfile="docker/linux"
2625
fi
2726

28-
docker run --privileged --rm tonistiigi/binfmt --install all
2927
docker build --no-cache --platform linux/$arch -t $RID -f $dockerfile --build-arg ALPINE_VERSION=$alpineVersion .
3028

3129
docker run -t --platform linux/$arch -e RID=$RID --name=$RID $RID

0 commit comments

Comments
 (0)