Repository navigation
ci: use OIDC for Depot and Docker Hub in dogfood - #31882
Merged
Merged
Conversation
kylecarbs
approved these changes
Nov 12, 2026
This branch was previously deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Replaces the static Depot and Docker Hub credentials in
dogfood.yamlwith OIDC.depot/build-push-actionsteps dropDEPOT_TOKENand use the GitHub OIDC trust relationship on projectb4q6ltmpzh.main-only login uses the Docker Hub OIDC connection (vars.DOCKERHUB_OIDC_CONNECTIONID, orgcodercom) instead ofDOCKERHUB_USERNAME/DOCKERHUB_PASSWORD. The connection allowsrepo:coder/coder:ref:refs/heads/mainread/write oncodercom/oss-dogfoodandcodercom/oss-dogfood-vscode-coder.build_imagegetsid-token: write; fork PRs are already skipped.mainenvironment, sinceCI_FAILURE_SLACK_WEBHOOKnow lives there (ci: run main-only secret consumers in the main environment #31763 missed this job).Requires the repo variable
DOCKERHUB_OIDC_CONNECTIONIDbefore merge. After a successfuldogfoodrun onmain,DEPOT_TOKEN,DOCKERHUB_USERNAME, andDOCKERHUB_PASSWORDcan be deleted.@sreya for review.
Generated with Coder Agents.