Skip to content

[DEVOPS-4869] ci(docker): authenticate to docker hub with oidc - #43

Open
Richard Boisvert (rbstp) wants to merge 4 commits into
masterfrom
devops/DEVOPS-4869-docker-hub-oidc
Open

Richard Boisvert (rbstp) wants to merge 4 commits into
masterfrom
devops/DEVOPS-4869-docker-hub-oidc

Conversation

@rbstp

@rbstp Richard Boisvert (rbstp) commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Le login Docker Hub de build-image.yml utilise maintenant la connexion OIDC de l'organisation prux-build-image au lieu du PAT devolutionsbot. Le job build-image reçoit id-token: write, tout comme le job build-image de shared.yml qui l'appelle.

Docker Scout refuse maintenant les jetons émis à partir d'un personal access token (403 token issued from personal access token is not allowed), ce qui fait échouer le job build-image. L'OIDC retire aussi un secret de longue durée. Même changement que Devolutions/send#248, validé en staging.

Une fois fusionné et un run réussi, DOCKER_HUB_ACCESS_TOKEN pourra être retiré de l'environnement build.

@rbstp
Richard Boisvert (rbstp) marked this pull request as ready for review October 16, 2026 01:29
@rbstp
Richard Boisvert (rbstp) requested a review from a team as a code owner October 16, 2026 01:29

This branch was successfully deployed

1 active (outdated) deployment
build — d700a674 Deployed Oct 16, 2026 by rbstp via login #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant