-
Notifications
You must be signed in to change notification settings - Fork 597
Fix replace with compliant image mediatype #4077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1c9671a
to
1334aea
Compare
Signed-off-by: Stef Graces <[email protected]>
Could you please write a test that ensures we don’t regress this in the future? |
Signed-off-by: Stef Graces <[email protected]>
Hi @bobcallaway Added a test for this specific issue. Let me know if you require any changes |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4077 +/- ##
==========================================
- Coverage 40.10% 36.62% -3.48%
==========================================
Files 155 210 +55
Lines 10044 13436 +3392
==========================================
+ Hits 4028 4921 +893
- Misses 5530 7897 +2367
- Partials 486 618 +132 ☔ View full report in Codecov by Sentry. |
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [cosign](https://github.com/sigstore/cosign) | minor | `2.4.3` -> `2.5.0` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>sigstore/cosign (cosign)</summary> ### [`v2.5.0`](https://github.com/sigstore/cosign/blob/HEAD/CHANGELOG.md#v250) [Compare Source](sigstore/cosign@v2.4.3...v2.5.0) v2.5.0 includes an implementation of the new bundle specification, attesting and verifying OCI image attestations uploaded as OCI artifacts. This feature is currently gated behind the `--new-bundle-format` flag when running `cosign attest`. #### Features - Add support for new bundle specification for attesting/verifying OCI image attestations ([#​3889](sigstore/cosign#3889)) - Feat/non filename completions ([#​4115](sigstore/cosign#4115)) - Add TSA certificate related flags and fields for cosign attest ([#​4079](sigstore/cosign#4079)) #### Fixes - cmd/cosign/cli: fix typo in ignoreTLogMessage ([#​4111](sigstore/cosign#4111)) - Fix replace with compliant image mediatype ([#​4077](sigstore/cosign#4077)) #### Contributors - Bob Callaway - Carlos Tadeu Panato Junior - Cody Soyland - Dmitry Savintsev - Hayden B - Ramon Petgrave - Riccardo Schirone - Stef Graces - Ville Skyttä </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNTkuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI1OS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Fixes #4076
Summary
Bug in replacing attestation.
Release Note
NONE
Documentation
No docs