Skip to content

fix scoped Docker Hub cleanup path when registry is omitted#945

Merged
crazy-max merged 2 commits intodocker:masterfrom
crazy-max:fix-scope-dir-dockerhub
Mar 24, 2026
Merged

fix scoped Docker Hub cleanup path when registry is omitted#945
crazy-max merged 2 commits intodocker:masterfrom
crazy-max:fix-scope-dir-dockerhub

Conversation

@crazy-max
Copy link
Copy Markdown
Member

Fixes scoped credential cleanup when scope is set and registry is omitted. The action now computes configDir from the same effective registry value used for login, so the default Docker Hub case resolves consistently to docker.io before deriving the scoped Buildx config path.

This keeps the login and post-job logout paths aligned for the default Docker Hub flow and prevents scoped credentials from being written to one path and cleaned up from another.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max requested a review from tonistiigi March 24, 2026 16:02
@crazy-max crazy-max marked this pull request as ready for review March 24, 2026 16:02
@crazy-max crazy-max merged commit 717e062 into docker:master Mar 24, 2026
10 checks passed
@crazy-max crazy-max deleted the fix-scope-dir-dockerhub branch March 24, 2026 16:19
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