Repository navigation
ci: Log in to Docker Hub with OIDC instead of a stored token - #9236
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
Docker builds report
|
There was a problem hiding this comment.
No issues found across 1 file
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Switches Docker Hub publishing auth from a stored token to OIDC; the OIDC connection and required id-token permission are not verifiable from this diff, and the change alters the reusable workflow's credential inputs.
Turn on auto-fix | Re-trigger cubic
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9236 +/- ##
==========================================
+ Coverage 98.11% 98.96% +0.85%
==========================================
Files 1725 1725
Lines 73959 73959
==========================================
+ Hits 72562 73193 +631
+ Misses 1397 766 -631 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
✅ private-cloud · depot-ubuntu-latest-16 — run #24119 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
🗂️ Previous results✅ private-cloud · depot-ubuntu-latest-arm-16 — run #24119 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #24119 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #24119 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ private-cloud · depot-ubuntu-latest-16 — run #24115 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #24115 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #24115 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #24115 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
|
Visual Regression31 screenshots compared. See report for details. |
The Docker OIDC connection trusts repo:Flagsmith/*:environment:dockerhub, and the environment's deployment rules limit publishing to release tags (and main where the workflow can be run manually).
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Switches Docker Hub release publishing from a stored token to short-lived OIDC and adds a dockerhub deployment environment. The OIDC trust, id-token permission, and environment protection rules are not verifiable from this diff, so the release-auth change needs human sign-off.
Turn on auto-fix | Re-trigger cubic
Logs in to Docker Hub with a short-lived OIDC token instead of a stored access token (ENG-1168).
dockerhubenvironment, whose deployment rules allow onlyv*tags (plusmainwhere the workflow can be run manually).docker/login-actionv4.8.0 exchanges the job's GitHub OIDC token through our Docker OIDC connection (vars.DOCKERHUB_OIDC_CONNECTIONID). The connection trustsrepo:Flagsmith/*:environment:dockerhubto push only to our listed images.id-token: write.The old Docker Hub secrets stay until a release has published through OIDC; they're deleted afterwards. See Publishing Docker images.
Quay targets keep using
QUAY_PUBLISH_PASSWORDuntil ENG-1169 (#9237).