Skip to content

ci: fix Alpine arm64 prebuild (JS actions unsupported in Alpine container on arm64)#41

Merged
arv merged 1 commit into
mainfrom
arv/fix-alpine-arm64-prebuild
Jun 3, 2026
Merged

ci: fix Alpine arm64 prebuild (JS actions unsupported in Alpine container on arm64)#41
arv merged 1 commit into
mainfrom
arv/fix-alpine-arm64-prebuild

Conversation

@arv
Copy link
Copy Markdown
Contributor

@arv arv commented Jun 3, 2026

The 1.1.1 release run failed on Prebuild on alpine (arm64):

JavaScript Actions in Alpine containers are only supported on x64 Linux runners. Detected Linux 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 inside docker 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).

…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>
@arv arv merged commit 6f316b1 into main Jun 3, 2026
25 checks passed
@arv arv deleted the arv/fix-alpine-arm64-prebuild branch June 3, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant