Skip to content

[ISSUE #11049]🐛Use the Docker Hub registry endpoint for authenticated reads - #11056

Merged
rocketmq-rust-bot merged 1 commit into
mainfrom
mxsm/dockerhub-registry-endpoint
Oct 1, 2026
Merged

rocketmq-rust-bot merged 1 commit into
mainfrom
mxsm/dockerhub-registry-endpoint

Conversation

@mxsm

@mxsm mxsm commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Which Issue(s) This PR Fixes(Closes)

Brief Description

Docker Hub's historical index.docker.io endpoint returned an anonymous pull-limit response even with the same authenticated registry token that successfully accessed registry-1.docker.io. Syft and Cosign normalized the public Docker Hub image names to the failing historical endpoint.

Direct Docker Hub scanning, signing, source verification and registry copy requests to registry-1.docker.io, and configure credentials for that host alongside the historical Docker credential key. Preserve the public docker.io names, exact image digests and sole 1.0.0 release tags. Accept the equivalent canonical registry host in verified SBOM subjects while retaining exact repository/digest validation.

How Did You Test This Change?

  • Live requests with the same authenticated token: historical index returned HTTP 429 with zero quota; the v2 registry host returned HTTP 200 with quota remaining. No credentials were printed.
  • python -m unittest discover -s scripts/tests -p 'test_publish*.py': all 71 tests passed, covering remote scanning endpoint selection, unchanged local/GHCR inputs, digest-preserving copy, stable publication names and SBOM repository validation.
  • Pinned actionlint 1.7.12 checked the four release workflows; CI runs ShellCheck.
  • Bash syntax checks passed for all 11 release scripts and all 8 GHCR scripts.
  • git diff --check: passed.

@rocketmq-rust-bot

Copy link
Copy Markdown
Collaborator

🔊@mxsm 🚀Thanks for your contribution🎉!

@rocketmq-rust-robot rocketmq-rust-robot added the bug🐛 Something isn't working label Oct 1, 2026

@rocketmq-rust-bot rocketmq-rust-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM - Required CI checks passed ✅

@rocketmq-rust-bot
rocketmq-rust-bot merged commit ab8d678 into main Oct 1, 2026
20 checks passed
@rocketmq-rust-bot rocketmq-rust-bot added approved PR has approved and removed ready to review waiting-review waiting review this PR labels Oct 1, 2026
@mxsm
mxsm deleted the mxsm/dockerhub-registry-endpoint branch October 15, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved PR has approved auto merge bug🐛 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug🐛] Docker Hub releases retain commit aliases and staging tags

3 participants