Skip to content

ci: run dogfood build_image in the main environment on main - #32123

Merged
sreya merged 1 commit into
mainfrom
ci/dogfood-main-environment
Nov 12, 2026
Merged

sreya merged 1 commit into
mainfrom
ci/dogfood-main-environment

Conversation

@sreya

@sreya sreya commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

The first main run after #31882 failed with DOCKERHUB_OIDC_CONNECTIONID is required for Docker Hub OIDC login (run 43277795680): the variable is defined in the main environment and build_image was not in it.

build_image now uses the main environment on main only. PR runs stay environment-less because a main-only environment would block them, and they skip the Docker Hub login anyway.

Running in an environment changes the OIDC subject on main from repo:coder/coder:ref:refs/heads/main to repo:coder/coder:environment:main, so the Docker Hub OIDC connection rule must match the environment subject.

@sreya for review.


Generated with Coder Agents.

@sreya sreya self-assigned this Nov 12, 2026
@sreya
sreya temporarily deployed to main November 12, 2026 19:05 — with GitHub Actions Inactive
@sreya
sreya temporarily deployed to main November 12, 2026 19:05 — with GitHub Actions Inactive
@sreya
sreya merged commit ddf89cc into main Nov 12, 2026
53 checks passed
@sreya
sreya deleted the ci/dogfood-main-environment branch November 12, 2026 19:43
@sreya
sreya temporarily deployed to main November 12, 2026 19:43 — with GitHub Actions Inactive
@sreya
sreya temporarily deployed to docs-preview November 12, 2026 19:43 — with GitHub Actions Inactive
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 12, 2026

This branch was previously deployed

2 inactive deployments
docs-preview — 8924dfd5 Deployed Nov 12, 2026 by sreya via cleanup #3
main — 8924dfd5 Deployed Nov 12, 2026 by sreya via cla #255246
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant