You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: fix wrong-arch build from stale alpine image tag
The binfmt check pulls alpine:3.23 for both arm64 and arm/v7, leaving the
single local tag pointing at the last-pulled arch. On runners using the
classic docker image store, 'docker run --platform linux/arm64' then
reuses that stale arm/v7 image: the aarch64 iteration silently built
32-bit binaries into out/armhf and 'cp out/aarch64/*' failed.
- build-static.sh: 'docker pull --platform' before each run so the local
tag matches the requested platform; pass ARCH_LABEL explicitly.
- build-in-container.sh: use $ARCH_LABEL (fall back to uname only for
manual runs) and assert it matches the container's uname, so a
wrong-platform image fails loudly instead of mislabeling binaries.
Signed-off-by: ravindu644 <droidcasts@protonmail.com>
0 commit comments