ORAS Media Types
Definition
ORAS (OCI Registry As Storage) Media Types are MIME types used to specify the format of artifacts stored in OCI-compliant registries. These media types help in identifying and managing different kinds of artifacts, such as container images, Helm charts, or other software packages, by defining their content type. This ensures that clients interacting with the registry can correctly interpret and handle the artifacts.
Secure Settings Example
# Example of an ORAS configuration with secure media type settings
artifacts:
- name: my-application
mediaType: application/vnd.oci.image.manifest.v1+json
annotations:
org.opencontainers.image.title: "My Secure Application"
org.opencontainers.image.description: "A secure application image"
Insecure Settings Example
# Example of an ORAS configuration with insecure media type settings
artifacts:
- name: my-application
mediaType: text/plain
annotations:
org.opencontainers.image.title: "My Insecure Application"
org.opencontainers.image.description: "An insecure application image"