Commit 1f5959f
committed
fix(ci): authenticate docker so cosign can sign the published chart (#253)
`helm registry login` writes to helm's own config
(~/.config/helm/registry/config.json), which cosign doesn't read.
After `helm push` succeeds, the subsequent `cosign sign` against the
just-published OCI subject fails with `UNAUTHORIZED: unauthenticated`
because cosign reads ~/.docker/config.json instead.
Add a docker/login-action step alongside the helm registry login (same
pattern operator-ci.yaml uses for signing operator images) so cosign
can upload the .sig layer and the cyclonedx SBOM attestation to the
same ghcr.io repository.
Surfaced when publishing chart/v0.16.0 once the prior `helm push` stderr
parsing fix (PR #249) let the workflow reach the cosign step.
Signed-off-by: Alex Yuskauskas <ayuskauskas@nvidia.com>1 parent 507fa5e commit 1f5959f
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
175 | 185 | | |
176 | 186 | | |
177 | 187 | | |
| |||
0 commit comments