From 63bfe0090c64ece82e4b04adfe7e95b19b38b8a8 Mon Sep 17 00:00:00 2001 From: Jae J4 Lo Presti Date: Tue, 3 Dec 2024 23:03:01 +0200 Subject: [PATCH] fix: force correct platform and image --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4809e2e..ecf28b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,8 +51,8 @@ jobs: image: tonistiigi/binfmt:latest - name: Build for ARM run: | - docker run --rm -v $(pwd):/workspace -w /workspace arm64/debian:buster apt update && apt install -y make gcc g++ unzip - docker run --rm -v $(pwd):/workspace -w /workspace arm64/debian:buster make all + export DOCKER_DEFAULT_PLATFORM=linux/arm64 + docker run --rm -v $(pwd):/workspace -w /workspace debian:buster apt update && apt install -y make gcc g++ unzip && make all - uses: actions/upload-artifact@v4 with: path: Dist/