Skip to content

ci: allow Docker Hub's S3 blob hosts in block-mode egress - #460

Merged
scttbnsn merged 1 commit into
dev/v1.0from
ci/allow-docker-s3-blobs
Nov 3, 2026
Merged

scttbnsn merged 1 commit into
dev/v1.0from
ci/allow-docker-s3-blobs

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Docker Hub now redirects image blob downloads to docker-images-prod.s3.dualstack.us-east-1.amazonaws.com. harden-runner logged it as "domain not allowed", and Integration (real dockerd) failed pre-pulling alpine on #459 twice with an i/o timeout. Earlier runs got the CloudFront/Cloudflare CDN, so it depends on where Hub sends the runner.

This adds the us-east-1 and us-west-2 hosts to every block-mode allow-list that already allows registry-1.docker.io: quality-integration, quality-integration-engines, release (both jobs) and security-grype. Everything stays in block mode.

Changelog

  • 🐛 Added the Docker Hub blob-storage endpoints for us-east-1 and us-west-2 to the egress allow-lists in the quality integration, release, and Grype workflows.
  • 🔒 Kept Harden Runner in block mode.

Concerns or issues

  • Test results are not provided.

Docker Hub now redirects image blob downloads to docker-images-prod.s3.dualstack.<region>.amazonaws.com. harden-runner blocked it, so Integration (real dockerd) failed pre-pulling alpine on PR #459 twice. Adds the us-east-1 and us-west-2 hosts wherever registry-1.docker.io is allowed.
@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

Four GitHub Actions workflows add the Docker image S3 endpoints in us-east-1 and us-west-2 to Harden Runner egress allowlists. The changes cover quality integration, release, native-package verification, and Grype jobs.

Possibly related PRs

  • CodesWhat/portwing#423: Both changes update Harden Runner configuration to address blocked outbound connections in CI workflows.
  • CodesWhat/portwing#433: Both changes address hosted-runner network failures involving Harden Runner and GitHub workflow connectivity.

Suggested labels: second-opinion

Change: Bug fix

Merge Risk: Minimal · up to 6dc5d

The allowlist updates cover the relevant Docker Hub image-pull jobs without introducing a concrete workflow failure.

Pre-merge checks: Passed 2
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 7ba29fb and 6dc5d23.

Files selected for processing: 4
  • .github/workflows/quality-integration-engines.yml
  • .github/workflows/quality-integration.yml
  • .github/workflows/release.yml
  • .github/workflows/security-grype.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@coderabbitai coderabbitai Bot added the second-opinion Summon Greptile for a second-opinion review label Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@greptileai Review exact head 6dc5d23829b55390923e80d4a56b479731483679. Review for correctness, security issues, and cross-file regressions.

@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed by orchestrator: adds only the two Docker-owned S3 blob hosts next to registry-1.docker.io in block-mode allow-lists; harden-runner logged the us-east-1 host as not allowed on #459.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed by orchestrator: adds only the two Docker-owned S3 blob hosts next to registry-1.docker.io in block-mode allow-lists; harden-runner logged the us-east-1 host as not allowed on #459.

@scttbnsn
scttbnsn merged commit 0639fcb into dev/v1.0 Nov 3, 2026
43 checks passed
@scttbnsn
scttbnsn deleted the ci/allow-docker-s3-blobs branch November 6, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

second-opinion Summon Greptile for a second-opinion review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants