Repository navigation
Mirror Docker images to GHCR (#1449) - #1478
Conversation
Point compose test fixtures at ghcr.io/devsy-org/test-images/postgres:latest and ghcr.io/devsy-org/test-images/nginx-unprivileged:latest instead of Docker Hub. Mirrors were created with buildx imagetools so the index digests match the upstream sources (postgres sha256:74935e72..., nginx-unprivileged sha256:1d26a516...).
✅ Deploy Preview for devsydev canceled.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
✅ Deploy Preview for images-devsy-sh canceled.
|
The test-images/postgres and nginx-unprivileged GHCR packages are private, so anonymous runner pulls fail with unauthorized. Grant the integration job packages:read and log in with GITHUB_TOKEN before compose tests.
The e2e binary runs under sudo, which reads root's docker config, not the runner user's. Log in as both so test-images pulls authenticate.
The up-docker-compose-only login did not unblock the multiple-services spec: test-images/postgres is still private, and the authenticated pull returned 'denied' (run 38474399648). Public packages pull anonymously (nginx-unprivileged verified 200 without auth), so the login is unneeded for them. Revert to main until postgres visibility is fixed.
Previous commit pulled unrelated main changes into pr-ci.yml. Restore the PR base version so the only change to this file is the removal of the login step, which is verified to be unnecessary (see prior commit).
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
Summary
Phase C of #1449: point e2e docker-compose fixtures at GHCR mirrors instead of Docker Hub.
Changes
docker-compose-multiple-services/docker-compose.yaml:postgres:latest->ghcr.io/devsy-org/test-images/postgres:latestdocker-compose-run-services/docker-compose.yaml:postgres:latest->ghcr.io/devsy-org/test-images/postgres:latestdocker-compose-forward-ports/docker-compose.yaml:nginxinc/nginx-unprivileged:latest->ghcr.io/devsy-org/test-images/nginx-unprivileged:latestMirrors were created with
docker buildx imagetoolsso index digests match upstream (postgressha256:74935e72..., nginx-unprivilegedsha256:1d26a516...).Verification
docker compose config --imagesresolves all three files to the GHCR refs (local parse only).Summary by CodeRabbit