ci: register QEMU binfmt inline instead of via setup-qemu-action #17

Merged
nrupard merged 1 commit from feat/m1-image-distribution into main 2026-05-15 16:49:13 +02:00
Owner

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

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>
ci: register QEMU binfmt inline instead of via setup-qemu-action
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
a74fbd576c
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>
nrupard deleted branch feat/m1-image-distribution 2026-05-15 16:49:13 +02:00
nrupard referenced this pull request from a commit 2026-05-15 16:56:14 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!17
No description provided.