ci: migrate Hub login from PAT to OIDC - #545
Merged
Merged
Conversation
Docker Hub is blocking image pushes using long-lived PATs to Docker-owned namespaces starting August 7, 2026. Migrate main.yml to use OIDC via login-action v4.6.0. - Add id-token: write to workflow permissions - Upgrade docker/login-action from v3.7.0 to v4.6.0 - Replace DOCKERPUBLICBOT_WRITE_PAT with DOCKERHUB_OIDC_CONNECTIONID from secret OIDC_CONNECTION_ID Merge gate: requires OIDC_CONNECTION_ID secret to be added to repo secrets before merging. Request connection ID from Hub/IAM team for docker/mcp-gateway scoped to the docker Hub org. Supersedes: #543 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cmrigney
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Docker Hub is blocking image pushes using long-lived PATs to Docker-owned namespaces starting August 7, 2026. This migrates
main.ymlto OIDC authentication.Changes
id-token: writeto workflow-level permissions (required for GitHub OIDC token issuance)docker/login-actionv3.7.0 → v4.6.0 (dbcb813)DOCKERPUBLICBOT_WRITE_PATwithDOCKERHUB_OIDC_CONNECTIONIDenv varDOCKERPUBLICBOT_USERNAMEvar; hardcodeusername: docker