Add cosigning and provenance attestation to image builds - #333
Conversation
Signed-off-by: averevki <sandyverevkin@gmail.com>
|
Warning Review limit reached
Next review available in: 40 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #333 +/- ##
=======================================
Coverage 57.20% 57.20%
=======================================
Files 13 13
Lines 1458 1458
=======================================
Hits 834 834
Misses 529 529
Partials 95 95
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
It is expected, this is how docker buildx ( Multi-arch images are built a bit differently in the authorino repo, so in there it uses a dedicated github action to generate the provenance instead, which stores provenance as a separate OCI artifact in the registry. Both ways achieve the same goal of storing the provenance, question is if we want to have the way the attestations are stored unified between the repos. If yes, it would require changing the process images are build in some projects. Personally, I would prefer attestations to be embedded into the image instead of creating an another artifact, to not trash the image registry. |
|
Not a fun of the separate artefacts either. |

Summary
signing using the GitHub OIDC identity
provenance: true)Part of the work on Kuadrant/kuadrant-operator#2038
Context
This improves the Signed-Releases (https://github.com/ossf/scorecard/blob/main/docs/checks.md#signed-releases) check from the OpenSSF Scorecard (https://scorecard.dev/). Merging this should bring this section score from current 0 to 10.
Verification
Image builds cosigning and attestation was verified with the kuadrant-operator image builds (Kuadrant/kuadrant-operator#2073), the successful run of which can be found here, with the images pushed here.