ci: fix Alpine arm64 prebuild (JS actions unsupported in Alpine container on arm64)#41
Merged
Merged
Conversation
…iner on arm64) The native-arm64 conversion used `container: node:20-alpine`, but GitHub only supports JavaScript actions (actions/checkout) inside Alpine job containers on x64 runners — on arm64 it fails with "JavaScript Actions in Alpine containers are only supported on x64 Linux runners". The glibc arm64 jobs (bullseye/ bookworm) are unaffected. Check out on the glibc arm64 host instead and run the build inside `docker run node:20-alpine`, which is native on the arm64 runner (still no QEMU). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 1.1.1 release run failed on Prebuild on alpine (arm64):
#37 moved arm64 prebuilds to native runners using
container: node:20-alpine. But GitHub only ships the Alpine-musl Node shim for JS actions (actions/checkout) on x64 runners — inside an Alpine job container on arm64 it fails. The glibc arm64 jobs (bullseye/bookworm containers) are fine, so this is musl-specific.Fix: drop the job container for
prebuild-alpine-arm64; check out on the glibc arm64 host and run the build insidedocker run node:20-alpine— native on the arm64 runner, so still no QEMU.After this merges I'll re-cut
v1.1.1(the current tag points at the pre-fix commit; npm is still on 1.1.0, so nothing was published).