-
Notifications
You must be signed in to change notification settings - Fork 30
Finalize oci or cncf.oras mediaTypes #14
Description
While OCI finalizes the working group process and decides to enable the Reference Types working group, the OCI and Reference Types working group agreed to run these efforts in parallel. The incubation of the artifacts-spec is being developed under: https://github.com/oras-project/artifacts-spec/
As products and services move forward supporting reference types, they will store user artifacts, which will be supported for an indefinite period of time.
These new artifacts, with reference type support, are persisted with the new artifact.manifest (spec).
The current manifest.mediaType is application/vnd.cncf.oras.artifact.manifest.v1+json to avoid any conflict with OCI branding.
If OCI adopts the reference type working group before a release of the artifacts-spec is made, we can change the mediaType for user content stored. If not, the tooling can simply use the cncf.oras string. Both are Linux Foundation orgs, so in the end, it's just a string end-users have no knowledge about. That said, if we can unify these, we can avoid the different branded mediaTypes, like application/vnd.docker.distribution.manifest.v1+json and application/vnd.oci.image.manifest.v1+json