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

Upgrade to distribution-spec v1.1.0-rc4 #685

Closed
shizhMSFT opened this issue Jan 19, 2024 · 0 comments · Fixed by #690
Closed

Upgrade to distribution-spec v1.1.0-rc4 #685

shizhMSFT opened this issue Jan 19, 2024 · 0 comments · Fixed by #690
Assignees
Labels
dependencies Pull requests that update a dependency file
Milestone

Comments

@shizhMSFT
Copy link
Contributor

shizhMSFT commented Jan 19, 2024

distribution-spec v1.1.0-rc4 (alias: distribution-spec v1.1.0-rc.4) has just been released.

The changes related to oras-go include:

  • No longer require checking 404 on Referrers API but checking the OCI-Subject header on pushing manifest with subject.
  • The Content-Type header of the Referrers API response MUST be set to application/vnd.oci.image.index.v1+json.
@shizhMSFT shizhMSFT added the dependencies Pull requests that update a dependency file label Jan 19, 2024
@shizhMSFT shizhMSFT added this to the v2.4.0 milestone Jan 19, 2024
Wwwsylvia added a commit that referenced this issue Jan 23, 2024
1. If the `OCI-Subject` header is not set in the response of manifest
push, do not ping the Referrers API (see `repository.go`)
2. Update tests accordingly
3. Update the spec version in comments

Resolve: #685
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
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.

2 participants