ci: register QEMU binfmt inline instead of via setup-qemu-action #17
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/m1-image-distribution"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Forgejo runner failed at the multi-arch QEMU setup step with
EACCES: permission denied, mkdir '/opt/hostedtoolcache'. The upstream docker/setup-qemu-action@v3 writes the binfmt image into the GitHub-hosted-runner tool cache; that path does not exist on Forgejo runners, which run as a non-root user without /opt/hostedtoolcache provisioned.Replaces the action with a one-liner that runs tonistiigi/binfmt directly. The image performs the same kernel-level binfmt registration the action wraps, just without the tool-cache plumbing, so cross-arch buildx works the same way on both runner flavors.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com