Repository navigation
Use Docker Hub OIDC for public image CI - #507
Merged
Merged
Conversation
sjmiller609
marked this pull request as ready for review
November 9, 2026 19:46
sjmiller609
marked this pull request as draft
November 11, 2026 16:05
sjmiller609
had a problem deploying
to
dockerhub-publish
November 11, 2026 16:21 — with
GitHub Actions
Failure
sjmiller609
had a problem deploying
to
dockerhub-publish
November 11, 2026 16:21 — with
GitHub Actions
Failure
rgarcia
approved these changes
Nov 12, 2026
rgarcia
left a comment
Contributor
There was a problem hiding this comment.
reviewed — the OIDC wiring looks right. approving, but the setup items below should be done before merge:
Blockers (setup)
.github/workflows/chromium-headful-image.yaml:11(and headless) —dockerhub-publishenv currently has no protection rules or branch policy; needs to be configured before merge or the environment adds nothing
Questions
.github/workflows/chromium-headful-image.yaml:11— if required approvals are added, every main push and internal-PR build blocks on a human; is the plan to protect via env rules, or scope the push connection's trust to theenvironment:dockerhub-publishsub claim instead?.github/workflows/server-test.yaml:129-134—onkernel/chromium-headful/-headlessare public, so the pull login only buys rate limits but adds a hard failure point; is it needed? if kept, the pull connection must trust bothref:refs/heads/mainandpull_requestsub claims — worth noting in setup
Nits
.github/workflows/chromium-headful-image.yaml:51(and headless) — consider making the push connection ID an environment variable ondockerhub-publishrather than a repo variable.github/workflows/chromium-headful-image.yaml:11— env usage adds deployment entries to every PR timeline; fine if accepted.github/workflows/server-test.yaml:20,27—secrets: inheritno longer needed; dropping it keeps unrelated repo secrets out of the self-hosted build jobs
Follow-ups
- delete
DOCKERHUB_TOKENsecret andDOCKERHUB_USERNAMEvar once OIDC builds are verified green
sjmiller609
had a problem deploying
to
dockerhub-publish
November 23, 2026 16:35 — with
GitHub Actions
Failure
sjmiller609
had a problem deploying
to
dockerhub-publish
November 23, 2026 16:35 — with
GitHub Actions
Failure
sjmiller609
marked this pull request as ready for review
November 23, 2026 20:30
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1117dc1. Configure here.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
Validation
Workflow lint and action lockfile checks passed locally. GitHub Actions verifies both image builds and the end-to-end tests; the main-only publish path is not exercised by PR runs.
Note
Medium Risk
Changes CI auth and how PR e2e obtains images; publishing is gated to
main, but OIDC connection setup must be correct or builds and e2e will fail.Overview
Replaces stored Docker Hub username/password in Chromium image and server e2e workflows with
docker/login-action@v4.7.0OIDC (id-token: write, fixedonkerneluser, branch-specific connection IDs for publish vs pull).Non-
mainbuilds no longer push: images are saved as tarballs, uploaded viaactions/upload-artifact, and e2e on PRs downloads anddocker loads those artifacts instead of pulling from the registry;mainstill pushes and e2e pulls published tags.Tightens self-hosted image jobs to
kernel/kernel-imagesonly (fork PRs still skipped). Refreshes.github/workflows/actions.lockfor the new login, upload, and download action pins.Reviewed by Cursor Bugbot for commit 1117dc1. Bugbot is set up for automated code reviews on this repo. Configure here.
Docker Hub enforces main-only publishing through the exact GitHub OIDC subject. The dockerhub-publish environment was not used on main and has no branch restrictions or required approvals.