ci: fix cosign signing (install fallback, env-style login, portal sign step) #18

Merged
sharang merged 1 commits from ci/cosign-fixes into main 2026-07-22 07:46:03 +00:00
Owner

Fixes three cosign/CI bugs from the Harbor cutover: (1) cosign install used curl, absent in the docker:cli build containers -> 'curl: not found', now curl-or-wget and fully ::warning::-guarded so it can never fail a build; (2) [certifai + compliance-scanner-agent] docker login interpolated the robot username inline — sh expands the '$' in robot$ci-push to 'robot-push' -> unauthorized (this also hard-failed the Deploy Docs job); creds now flow via env. COSIGN_KEY/COSIGN_PASSWORD env was also missing (the injector skipped workflows that already had a top-level env block); (3) [portal] the sign step was never injected (portal uses docker/build-push-action, not a raw docker push) — added it, so portal images finally get signed.

Fixes three cosign/CI bugs from the Harbor cutover: (1) cosign install used curl, absent in the docker:cli build containers -> 'curl: not found', now curl-or-wget and fully ::warning::-guarded so it can never fail a build; (2) [certifai + compliance-scanner-agent] docker login interpolated the robot username inline — sh expands the '$' in robot$ci-push to 'robot-push' -> unauthorized (this also hard-failed the Deploy Docs job); creds now flow via env. COSIGN_KEY/COSIGN_PASSWORD env was also missing (the injector skipped workflows that already had a top-level env block); (3) [portal] the sign step was never injected (portal uses docker/build-push-action, not a raw docker push) — added it, so portal images finally get signed.
sharang added 1 commit 2026-07-22 07:44:22 +00:00
ci: fix cosign install (curl->wget fallback), env-style registry login, portal sign step
ci / test (pull_request) Successful in 10m20s
ci / shared (pull_request) Failing after 5s
ci / image (pull_request) Skipped
ci / e2e (pull_request) Canceled after 0s
a3c1bb075c
sharang merged commit da6b8f70c5 into main 2026-07-22 07:46:03 +00:00
sharang deleted branch ci/cosign-fixes 2026-07-22 07:46:03 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/portal#18