Repository navigation
CI: pull every base image from GHCR's mirror by digest - #208
Merged
Merged
Conversation
VisualCIdocspring/visualci · build #794 · 521 unchanged · no changes This PR vs base: 77 changed, 11 added since #698, across 4 builds docspring/visualci · journeys · build #791 · 50 unchanged · no changes This PR vs base: 3 changed since #691, across 5 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
ci/use-ghcr-mirror
branch
from
December 4, 2026 15:54
38bb4d0 to
f783ad1
Compare
ndbroadbent
marked this pull request as ready for review
December 4, 2026 16:03
ndbroadbent
force-pushed
the
ci/use-ghcr-mirror
branch
2 times, most recently
from
December 4, 2026 16:21
2bfcc37 to
4e24d3e
Compare
Postgres services, RustFS, the release-bins container, BuildKit and the Dockerfiles' FROM images (through build-contexts, so local builds keep Docker Hub) come from GHCR's copy, pinned by digest, and the docker run pulls retry with backoff (scripts/ci/pull.sh). Jobs log in with GITHUB_TOKEN (packages: read). journeys' caddy is pinned to 2.11.9 (CADDY_IMAGE in CI) and journeys' aws-cli fallback to 2.17.0.
ndbroadbent
force-pushed
the
ci/use-ghcr-mirror
branch
from
December 4, 2026 16:30
4e24d3e to
a5b7cd8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 2 of taking Docker Hub off CI's critical path (step 1: #203, the mirror; #207 adds caddy to it).
docker runs, release-bins'container:, setup-buildx's BuildKit and journeys' caddy all come fromghcr.io/docspring/mirror/<name>:<tag>@<digest>.GITHUB_TOKEN: workflow-levelpackages: read;credentials:on the services and the container;docker/login-actionbefore the pulls.imagesnow logs in on PRs too.build-contexts(rust:1.99.1-trixie=docker-image://ghcr…@sha256:…; buildx and BuildKit normalise both names the same way). The Dockerfiles themselves are unchanged, so local builds keep Docker Hub.scripts/ci/pull.shpulls with backoff (5 attempts, 10–40 s apart).scripts/journeys/run.shuses${CADDY_IMAGE:-caddy:2.11.9}(CI sets the mirror digest), and its aws-cli fallback is nowamazon/aws-cli:2.17.0instead of no tag.visual.shandrun.shstill name Docker Hub. They only run whereawsisn't installed, and GitHub's runners have it.#207 has merged and the mirror run copied caddy (digest matches). After this merges, I'll test from a fork PR.
Independent review (subagent): nothing serious. Its points: the merge order above, the aws-cli fallbacks, and the inputs grep matching its own line (now anchored).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Results (run 47369999868, after #207, every image from the mirror): all green, and every image pulled on the first try.
rust,nodeanddebiannamed contexts loaded from the mirror.