Skip to content

Commit d90f3e6

Browse files
authored
Merge pull request #49 from CodingThrust/fix-runner-pull-platform
runner-pull: pin linux/amd64 platform for Apple Silicon
2 parents 0063e44 + 6a0c68d commit d90f3e6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎Makefile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ runner-build:
5555

5656
## Pull the prebuilt runner image from GHCR (built by .github/workflows/runner-image.yml)
5757
## and tag it locally as $(IMAGE). Fast alternative to runner-build's local Rust compile.
58+
## The published image is linux/amd64 only; on Apple Silicon it runs under emulation,
59+
## so pin the platform explicitly (docker run picks it up from the local tag).
5860
runner-pull:
59-
docker pull $(GHCR_IMAGE):$(PR_REF)
61+
docker pull --platform linux/amd64 $(GHCR_IMAGE):$(PR_REF)
6062
docker tag $(GHCR_IMAGE):$(PR_REF) $(IMAGE)
6163

6264
## Preflight: validate submission.env with one tiny real API call + pred/rules checks,

0 commit comments

Comments
 (0)