Skip to content

Commit 47ac011

Browse files
committed
Update qemu condition
1 parent e853683 commit 47ac011

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
if: runner.os == 'macOS'
6161
run: ./build.libgit2.sh
6262
- name: Setup QEMU
63-
if: runner.os == 'Linux'
63+
if: startsWith(matrix.name, 'linux-musl-') || matrix.name == 'linux-riscv64'
6464
run: docker run --privileged --rm tonistiigi/binfmt --install all
6565
- name: Build Linux
6666
if: runner.os == 'Linux'

dockerbuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ else
2424
dockerfile="docker/linux"
2525
fi
2626

27-
docker build --no-cache --platform linux/$arch -t $RID -f $dockerfile --build-arg ALPINE_VERSION=$alpineVersion .
27+
docker build --no-cache --platform linux/$arch -t $RID -f $dockerfile --build-arg ARCH=$arch --build-arg ALPINE_VERSION=$alpineVersion .
2828

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

0 commit comments

Comments
 (0)