Validate the Content-type header of the response when accessing the Referrers API
When pushing manifests with a subject field, if the OCI-Subject header is not set in the response, the registry is considered as not supporting the Referrers API
[!WARNING]
There are no API changes in oras-go.
However, when pushing and deleting manifests with a subject field, as well as querying the Referrers API, registries that implement older versions of distribution-spec may be considered as not supporting the Referrers API. In such cases, the Referrers tag schema will be used instead.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps oras.land/oras-go/v2 from 2.3.1 to 2.4.0.
Release notes
Sourced from oras.land/oras-go/v2's releases.
... (truncated)
Commits
850a247
refactor: remove AutoRemoveReferrers flag (#683)fa548ab
fix: fix the potential panic error if there is no platform in the index or ma...66ea3df
refactor: upgrade todistribution-spec v1.1.0-rc4
(#690)64fedf4
feat: mark untagged manifests as garbage during GC and delete (#680)82cc505
feat: allow skip unpack on push to file store (#679)acd6276
build(deps): use image-spec v1.1.0-rc6 instead of rc.6 (#687)baba4db
build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc5 to 1.1....d8783fe
feat: error type for not finding basic auth creds and export config path (#674)3b1dd0e
feat: Public GC function ofoci.Store
(#656)c34d275
docs: add example to parse reference with digest (#675)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show