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

Ratify support OCI spec 1.1 #1324

Closed
1 task
yizha1 opened this issue Mar 1, 2024 · 2 comments · Fixed by #1389
Closed
1 task

Ratify support OCI spec 1.1 #1324

yizha1 opened this issue Mar 1, 2024 · 2 comments · Fixed by #1389
Assignees
Labels
dependencies Pull requests that update a dependency file
Milestone

Comments

@yizha1
Copy link
Collaborator

yizha1 commented Mar 1, 2024

What would you like to be added?

OCI spec 1.1 was released recently. This issue is for discussion Ratify supports of OCI spec 1.1, as a result, work items and release plan can be created.

Anything else you would like to add?

No response

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.
@yizha1 yizha1 added enhancement New feature or request triage Needs investigation labels Mar 1, 2024
@susanshi susanshi added this to the v1.2.0 milestone Mar 14, 2024
@susanshi susanshi assigned susanshi and akashsinghal and unassigned susanshi Mar 14, 2024
@susanshi susanshi added dependencies Pull requests that update a dependency file and removed enhancement New feature or request triage Needs investigation labels Mar 14, 2024
@FeynmanZhou
Copy link
Collaborator

FeynmanZhou commented Mar 14, 2024

As discussed in the community meeting 03/13/2024, we aligned that Ratify will be consistent with ORAS behaviors, i.e. first attempt to call Referrers API and provide auto-fallback to Referrers Tag Schema if Referrers API call fails. This is the current behavior in Ratify but need to double confirm this.

We will also need to bump up the oras-go to v2.5.0 to be compatible with OCI Spec v1.1.0.

@akashsinghal
Copy link
Collaborator

I have double checked that Ratify is using the correct oras-go function here. This function will perform a check to see if the target registry is referrers API enabled. If not, it will fallback to the tag schema.

Once oras-go 2.5.0 is released, dependabot will automatically send a PR for ratify to upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants