Skip to content

AST-171789 Use Docker Hub OIDC in 2ms release workflow - #398

Open
cx-lior-poterman wants to merge 1 commit into
masterfrom
ast-171789-2ms-docker-oidc
Open

cx-lior-poterman wants to merge 1 commit into
masterfrom
ast-171789-2ms-docker-oidc

Conversation

@cx-lior-poterman

Copy link
Copy Markdown
Contributor

The release job now runs in the release environment and authenticates to Docker Hub with OIDC instead of a static username/password, matching kics and ast-cli.

This fixes a live break: the Docker Hub credentials the workflow referenced don't exist as repo, org, or environment secrets, so the login step was getting empty values. The OIDC connection id is an environment secret, so the job needs the environment declared to resolve it, plus the id-token: write permission it never had.

Also removed the Docker Hub description-sync step (same missing credentials, no OIDC path) and pointed CODEOWNERS at cx-maintainers-kics, the team gating the release environment.

The release job's Docker Hub login referenced DOCKERHUB_USERNAME and
DOCKERHUB_TOKEN secrets that no longer exist as repo, org, or
environment secrets, so the login step was authenticating with empty
credentials. Switch to OIDC federation like kics and ast-cli: declare
the release environment (needed to resolve the environment-scoped
DOCKERHUB_OIDC_CONNECTIONID secret), add the id-token: write and
contents: write permissions, and bump docker-login-action to the OIDC
capable version. Also drop the dead dockerhub-description step, which
relied on the same removed credentials and has no OIDC equivalent, and
update CODEOWNERS to the team that gates the release environment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cx-lior-poterman
cx-lior-poterman requested a review from a team as a code owner September 7, 2026 09:41
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