fix(ci): add COSIGN_EXPERIMENTAL=1 for OCI referrer mode in cosign sign#543
fix(ci): add COSIGN_EXPERIMENTAL=1 for OCI referrer mode in cosign sign#543
Conversation
cosign-installer v4.1.0 requires COSIGN_EXPERIMENTAL=1 to use --registry-referrers-mode=oci-1-1. Without it, all 3 image signing steps fail with "invalid argument" error, breaking the v0.3.3 release. Also replaces em-dashes with ASCII dashes in error messages.
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🧰 Additional context used🧠 Learnings (4)📓 Common learnings📚 Learning: 2026-03-15T11:48:14.867ZApplied to files:
📚 Learning: 2026-03-15T11:48:14.867ZApplied to files:
📚 Learning: 2026-03-15T11:48:14.867ZApplied to files:
🔇 Additional comments (3)
📝 WalkthroughSummary by CodeRabbit
No user-visible changes in this release. WalkthroughThis PR updates the Docker workflow configuration to add the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
📝 Coding Plan
Comment |
…ailed) The v0.3.3 release failed because cosign signing required COSIGN_EXPERIMENTAL=1 (fixed in #543). Since the tag and draft release have been deleted, revert the version bump and changelog so Release Please can create a clean release on the next merge. - Revert version 0.3.3 -> 0.3.2 in pyproject.toml, __init__.py, manifest - Remove 0.3.3 changelog section - Revert LICENSE change date
## Summary The v0.3.3 release failed because cosign signing required `COSIGN_EXPERIMENTAL=1` (fixed in #543). The v0.3.3 tag and draft release have been deleted. This PR reverts the release artifacts so Release Please can create a clean release on the next merge to main. - Revert version 0.3.3 -> 0.3.2 in `pyproject.toml`, `__init__.py`, `.release-please-manifest.json` - Remove 0.3.3 changelog section from `CHANGELOG.md` - Revert LICENSE change date ## What happened 1. PR #533 added `--registry-referrers-mode=oci-1-1` to cosign sign commands 2. cosign v3.0.3 (installed by cosign-installer v4.1.0) requires `COSIGN_EXPERIMENTAL=1` for that flag 3. All 3 image signing steps failed on the v0.3.3 tag push 4. Finalize-release never published the draft (waits for Docker + CLI success) 5. PR #543 added the missing env var 6. Tag `v0.3.3` and draft release deleted manually 7. This PR resets version state so Release Please starts fresh ## After merge Release Please will see new commits (including #543 cosign fix) and create a release PR for v0.3.3 with the fix baked in.
🤖 I have created a release *beep* *boop* --- ## [0.3.3](v0.3.2...v0.3.3) (2026-03-18) ### Features * **backup:** implement automated backup and restore system ([#541](#541)) ([867b7c1](867b7c1)) * **providers:** runtime provider management with CRUD, presets, and multi-auth ([#540](#540)) ([936c345](936c345)), closes [#451](#451) * **tools:** wire per-category sandbox backend selection ([#534](#534)) ([311a1ab](311a1ab)) ### Bug Fixes * **ci:** add COSIGN_EXPERIMENTAL=1 for OCI referrer mode in cosign sign ([#543](#543)) ([226ed2f](226ed2f)) * **cli:** switch cosign verification from .sig tags to OCI referrers ([#533](#533)) ([8ee5471](8ee5471)), closes [#532](#532) ### CI/CD * bump wrangler from 4.74.0 to 4.75.0 in /.github in the minor-and-patch group ([#535](#535)) ([de15867](de15867)) ### Maintenance * bump github.com/google/go-containerregistry from 0.21.2 to 0.21.3 in /cli in the minor-and-patch group ([#536](#536)) ([4a09aed](4a09aed)) * bump litellm from 1.82.3 to 1.82.4 in the minor-and-patch group ([#538](#538)) ([9f7f83d](9f7f83d)) * bump vue-tsc from 3.2.5 to 3.2.6 in /web in the minor-and-patch group across 1 directory ([#537](#537)) ([eb3dc4e](eb3dc4e)) * **main:** release 0.3.3 ([#539](#539)) ([c3de2a2](c3de2a2)) * revert v0.3.3 release artifacts (Docker signing failed) ([#544](#544)) ([7f48f52](7f48f52)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Summary
cosign sign --registry-referrers-mode=oci-1-1requiresCOSIGN_EXPERIMENTAL=1with cosign-installer v4.1.0COSIGN_EXPERIMENTAL: "1"to the env block of all 3 image signing steps (backend, web, sandbox)Root cause
The
--registry-referrers-mode=oci-1-1flag was added in PR #533 but the cosign version pinned bysigstore/cosign-installer@v4.1.0gates this behind the experimental flag.Test plan