Skip to content

ci: log in to Docker Hub right before the dogfood push - #32130

Merged
sreya merged 1 commit into
mainfrom
ci/dogfood-dockerhub-login-before-push
Nov 12, 2026
Merged

sreya merged 1 commit into
mainfrom
ci/dogfood-dockerhub-login-before-push

Conversation

@sreya

@sreya sreya commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

Fixes DOG-80. The main dogfood run logged in to Docker Hub with OIDC, then the first mise oci push about 12 minutes later failed with 401 Unauthorized: docker/login-action v4.6.0 issues a 300-second OIDC token by default and does not refresh it.

  • Moves the Docker Hub login from before the builds to right before Push final Ubuntu 26.04 image. Nothing earlier in the job pushes to or needs private access to Docker Hub; base images are public and the base image lives on ghcr.io.
  • Sets DOCKERHUB_OIDC_EXPIREIN: "3600", the maximum this version allows, so the multi-tag push and the vscode-coder build and push fit in the token lifetime.

@sreya for review.


Generated with Coder Agents.

@sreya sreya self-assigned this Nov 12, 2026
@sreya
sreya temporarily deployed to main November 12, 2026 20:23 — with GitHub Actions Inactive
@linear-code

linear-code Bot commented Nov 12, 2026

Copy link
Copy Markdown

DOG-80

@sreya
sreya merged commit b71e1d4 into main Nov 12, 2026
51 checks passed
@sreya
sreya deleted the ci/dogfood-dockerhub-login-before-push branch November 12, 2026 20:38
@sreya
sreya temporarily deployed to main November 12, 2026 20:38 — with GitHub Actions Inactive
@sreya
sreya temporarily deployed to docs-preview November 12, 2026 20:38 — 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
main — cea3de52 Deployed Nov 12, 2026 by sreya via cla #255290
docs-preview — cea3de52 Deployed Nov 12, 2026 by sreya via cleanup #6
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