oras

Definition

ORAS (OCI Registry As Storage) is a tool that allows users to push and pull OCI (Open Container Initiative) artifacts to and from container registries. It extends the use of container registries beyond just storing container images by enabling the storage of other types of artifacts, such as Helm charts, configuration files, and more, using the OCI distribution specification.

Secure Settings Example

# Example of securely pushing an artifact to a registry using ORAS
oras push myregistry.example.com/myartifact:v1 \
  --manifest-config config.json:application/vnd.oci.image.config.v1+json \
  --artifact-type application/vnd.mycompany.myartifact \
  --username $REGISTRY_USERNAME \
  --password $REGISTRY_PASSWORD \
  --insecure=false

Insecure Settings Example

# Example of insecurely pushing an artifact to a registry using ORAS
oras push myregistry.example.com/myartifact:v1 \
  --manifest-config config.json:application/vnd.oci.image.config.v1+json \
  --artifact-type application/vnd.mycompany.myartifact \
  --username $REGISTRY_USERNAME \
  --password $REGISTRY_PASSWORD \
  --insecure=true