Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.23 KB

oci-artifact.md

File metadata and controls

27 lines (16 loc) · 1.23 KB

OCI Artifact or Artifact Index

Type Name

ociArtifact

Description

A generic OCI artifact following the open containers image specification.

Format Variants

When provided as a blob, the Artifact Set Archive Format MUST be used to represent the content of the OCI artifact. This format can be used to store multiple versions of an OCI repository in a filesystem-compatible manner.

Media Types:

  • application/vnd.oci.image.manifest.v1+tar+gzip: OCI image manifests
  • application/vnd.oci.image.index.v1+tar.gzip: OCI index manifests

Special Support

There is a dedicated uploader available for local blobs. It converts a blob with the media type shown above into a regular OCI artifact in an OCI repository.

It uses the reference hint attribute of the localBlob access method to determine an appropriate OCI repository. If the import target of the OCM component version is an OCI registry, by default, the used OCI repository will be the base repository of the OCM mapping with the appended reference hint.