Repository navigation
Commit 56159a1
ci: authenticate Docker Hub with OIDC (SEC-4519) (#253)
* ci: authenticate Docker Hub with OIDC (SEC-4519)
Replace static Docker credentials with the configured OIDC connection while preserving workflow triggers and publishing behavior.
Linear: https://linear.app/sourcegraph/issue/SEC-4519/configure-oidc-in-github-actions-that-log-in-to-docker
Amp-Thread-ID: https://ampcode.com/threads/T-01a2180e-b11b-76a6-b0cd-520034d574a0
Co-authored-by: Amp <amp@ampcode.com>
* ci: scope Docker OIDC credentials to the published image
Preserve default credentials for public Docker Hub base-image pulls.
SEC-4519
Amp-Thread-ID: https://ampcode.com/threads/T-01a2180e-b11b-76a6-b0cd-520034d574a0
Co-authored-by: Amp <amp@ampcode.com>
---------
Co-authored-by: Amp <amp@ampcode.com>1 parent 51dd05f commit 56159a1
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments