Skip to content

chore(harden-runner): add production.cloudfront.docker.com endpoint#2250

Merged
cpanato merged 1 commit into
chainguard-dev:mainfrom
smoser:fix/registry-ci
May 27, 2026
Merged

chore(harden-runner): add production.cloudfront.docker.com endpoint#2250
cpanato merged 1 commit into
chainguard-dev:mainfrom
smoser:fix/registry-ci

Conversation

@smoser
Copy link
Copy Markdown
Contributor

@smoser smoser commented May 27, 2026

  • Docker Hub started serving image config blobs from production.cloudfront.docker.com (AWS CloudFront) around 2026-05-20, in addition to the long-standing production.cloudflare.docker.com (Cloudflare). Every CI run since has failed when the harden-runner egress policy blocks the DNS lookup.
  • Add production.cloudfront.docker.com:443 to the allowed-endpoints list in build.yaml, examples-test.yaml, and build-samples.yml (one entry per job in the matrix).
  • Keeps the Cloudflare entry — Docker Hub still routes some traffic there.

Failing run for reference: https://github.com/chainguard-dev/apko/actions/runs/26255529583/job/77277157325

Error from the log:

docker: error pulling image configuration: download failed after attempts=6:
  dial tcp: lookup production.cloudfront.docker.com on 127.0.0.53:53:
  write udp 127.0.0.1:37840->127.0.0.53:53: write: operation not permitted

🤖 Generated with Claude Code

Docker Hub started serving image config blobs from
production.cloudfront.docker.com (AWS CloudFront) around 2026-05-20 in
addition to production.cloudflare.docker.com (Cloudflare). Every CI run
since has failed with:

  docker: error pulling image configuration: download failed:
    dial tcp: lookup production.cloudfront.docker.com on 127.0.0.53:53:
    write udp: operation not permitted

Add the cloudfront endpoint to the allowed-endpoints list in build.yaml,
examples-test.yaml, and build-samples.yml so docker pulls can complete
when the egress policy is in block mode.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@smoser smoser requested review from cpanato and stevebeattie May 27, 2026 15:24
@cpanato cpanato merged commit dda427e into chainguard-dev:main May 27, 2026
27 of 28 checks passed
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