Skip to content

Commit 6a0c68d

Browse files
committed
runner-pull: pin --platform linux/amd64 (GHCR image is amd64-only)
The CI-built image has no arm64 manifest, so 'make runner-pull' failed on Apple Silicon with 'no matching manifest'. Pull the amd64 manifest explicitly; Docker Desktop runs it under Rosetta and 'docker run' inherits the platform from the local tag.
1 parent 0063e44 commit 6a0c68d

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)