Scenarios for managing multi-platform artifacts with ORAS
mainORAS is designed to handle several multi-platform management workflows that traditional tools like docker or docker buildx struggle with (such as requiring remote registries or being unavailable in air-gapped environments).
Key supported scenarios include:
- Local Filesystem Creation: Assembling a multi-arch image by creating an OCI image index that references architecture-specific images already stored locally. This is ideal for air-gapped environments.
- Registry-only Creation: Assembling a multi-arch image using arch-specific images already pushed to a remote registry, without downloading them to the local filesystem.
- Hybrid Creation: Combining architecture-specific images from both a local filesystem and a remote registry into a single OCI image index.
- Updating Existing Images: Retrieving an existing multi-arch image, modifying the index (replacing or adding architectures), and pushing the updated version back to a local filesystem or registry.
- Non-container Artifacts: Building multi-platform indexes for other artifact types by correctly populating the
artifactTypeproperty in the index manifest and child descriptors.