Skip to content
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

🐛 Fix pulling signed images #1369

Merged

Conversation

m1kola
Copy link
Member

@m1kola m1kola commented Oct 14, 2024

Description

This fixes "pushing signatures for OCI images is not supported" error when working with signed source images.

If policy context requires signature validation for a registry we will still be performing it on pull, but we will be removing source signatures when copying into a temporary OCI layout for unpacking.

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

This fixes "pushing signatures for OCI images is not supported" error
when working with signed source images.

If policy context requires signature validation for a registry
we will still be performing it on pull, but we will be removing
source signatures when copying into a temporary OCI layout
for unpacking.

Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
@m1kola m1kola requested a review from a team as a code owner October 14, 2024 09:35
Copy link

netlify bot commented Oct 14, 2024

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit bc68a25
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/670ce5f42b43df00081dc781
😎 Deploy Preview https://deploy-preview-1369--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.68%. Comparing base (78b586a) to head (bc68a25).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1369      +/-   ##
==========================================
- Coverage   74.83%   74.68%   -0.15%     
==========================================
  Files          42       42              
  Lines        2515     2516       +1     
==========================================
- Hits         1882     1879       -3     
- Misses        449      451       +2     
- Partials      184      186       +2     
Flag Coverage Δ
e2e 56.79% <100.00%> (+0.05%) ⬆️
unit 52.70% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joelanford joelanford added this pull request to the merge queue Oct 14, 2024
Merged via the queue into operator-framework:main with commit fe84c5f Oct 14, 2024
17 of 18 checks passed
@m1kola m1kola deleted the fix_failures_with_sigstores branch October 14, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants