Skip to content

ci(release): pull the image base from ECR Public, not Docker Hub - #2403

Merged
thiras merged 1 commit into
mainfrom
ci/release-base-image-ecr
Oct 9, 2026
Merged

thiras merged 1 commit into
mainfrom
ci/release-base-image-ecr

Conversation

@thiras

@thiras thiras commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Release run 37985793474 failed on both Docker image jobs, on its 5th attempt, with 429 Too Many Requests from registry-1.docker.io. The failing request was the anonymous HEAD for debian:bookworm-slim@sha256:7c7b….
  • Buildx resolves the base manifest on every build, even with a warm gha cache. GitHub-hosted runners share egress IPs, and those IPs use up Docker Hub's per-IP anonymous pull limit.
  • The Dockerfile base now comes from public.ecr.aws/docker/library/debian, AWS's mirror of the Docker Official Images. It serves the same multi-arch index under the same digest, so the pin is unchanged. It also supports the standard tags/list endpoint, so Dependabot's docker digest bumps keep working.

Out of scope: setup-qemu-action (tonistiigi/binfmt) and setup-buildx-action (moby/buildkit) still pull from Docker Hub.

Test plan

  • docker buildx imagetools inspect on the ECR ref resolves digest 7c7b… with linux/amd64 and linux/arm64
  • docker buildx build --target base --platform linux/amd64 . succeeds
  • Next release: Docker image jobs pass and the logs show public.ecr.aws
  • Next weekly Dependabot docker run still proposes digest bumps

🤖 Generated with Claude Code

The release's two Docker image jobs failed with 429 Too Many Requests on
the anonymous HEAD for debian:bookworm-slim. Buildx resolves the base
manifest on every build, even with a warm gha cache, and GitHub-hosted
runners share egress IPs that exhaust Docker Hub's per-IP anonymous limit.

public.ecr.aws/docker/library/debian serves the same multi-arch index
under the same digest, so the pin is unchanged. It also supports the
standard tags/list endpoint, so Dependabot's docker digest bumps keep
working.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 9, 2026 21:14
@thiras thiras self-assigned this Oct 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The registry change preserves the image digest and remains compatible with the release and Dependabot workflows.

0 open findings

What changed in this PR

Switches the release image base from Docker Hub to ECR Public to avoid anonymous pull throttling while preserving the pinned digest.

Changes:

  • Uses ECR Public’s Debian mirror.
  • Documents the registry choice and operational rationale.
File Description
Dockerfile Updates the pinned Debian base image registry.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@thiras
thiras merged commit 4fb6160 into main Oct 9, 2026
32 checks passed
@thiras
thiras deleted the ci/release-base-image-ecr branch October 9, 2026 21:17
thiras added a commit that referenced this pull request Oct 9, 2026
The release's two Docker image jobs failed with 429 Too Many Requests on
the anonymous HEAD for debian:bookworm-slim. Buildx resolves the base
manifest on every build, even with a warm gha cache, and GitHub-hosted
runners share egress IPs that exhaust Docker Hub's per-IP anonymous limit.

public.ecr.aws/docker/library/debian serves the same multi-arch index
under the same digest, so the pin is unchanged. It also supports the
standard tags/list endpoint, so Dependabot's docker digest bumps keep
working.

Co-authored-by: Claude Opus 5.5 <[email protected]>
thiras added a commit that referenced this pull request Oct 10, 2026
Revert e67c0ae (#2403). The base image resolves from
docker.io/library/debian under the same multi-arch index digest.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants