ORAS
ORAS is the de facto tool for working with OCI Artifacts. It treats media types as a critical piece of the puzzle. Container images are never assumed to be the artifact in question. ORAS provides CLI and client libraries to distribute artifacts across OCI-compliant registries.
Installation Instructions
Linux
Linux
Download Artefact
{
"url": "{{ .SVar `.tool.oras.download.url` }}",
"destination_folder": "{{ .PDownloads }}",
"output_filename": "{{ .SVar `.tool.oras.download.filename` }}",
"overwrite": false
} Extract Release
{
"destination": "{{ .PTools }}/oras/{{ .SVar `.tool.oras.download.version` }}",
"skip_symlinks": true,
"preserve_permissions": true,
"remove_existing": true,
"source": "{{ .PDownloads }}/{{ .SVar `.tool.oras.download.filename` }}"
} Make sure artefact is executable
{
"path": "{{ .PTools }}/oras/{{ .SVar `.tool.oras.download.version` }}/oras",
"permission_bits": 504
}
MacOS
MacOS
Download Artefact
{
"url": "{{ .SVar `.tool.oras.download.url` }}",
"destination_folder": "{{ .PDownloads }}",
"output_filename": "{{ .SVar `.tool.oras.download.filename` }}",
"overwrite": false
} Extract Release
{
"destination": "{{ .PTools }}/oras/{{ .SVar `.tool.oras.download.version` }}",
"skip_symlinks": true,
"preserve_permissions": true,
"remove_existing": true,
"source": "{{ .PDownloads }}/{{ .SVar `.tool.oras.download.filename` }}"
} Make sure artefact is executable
{
"path": "{{ .PTools }}/oras/{{ .SVar `.tool.oras.download.version` }}/oras",
"permission_bits": 504
} Binaries
- oras