Son aktivite 1 month ago

README.md Ham

Add multi-architecture support to an OCI image.

SudoVanilla uses buildah instead of Docker, as it builds valid OCI images that are supported by the SudoVanilla OCI Registry. The SudoVanilla OCI Registry is powered by Zot Registry, a OCI-native container image registry.

Build or Pull Images

Build Image

buildah build -t registry.org/image:amd64
buildah build -t registry.org/image:amd64

Pull Image

buildah pull -t registry.org/image:arm64
buildah pull -t registry.org/image:arm64

Manifest

Create

Use the manifest create command to generate a new OCI image index and give it the latest tag name.

buildah manifest create registry.org/image:latest

Combine Images

Using the previous images that was previously built or pulled, apply them to the newly created manifest:

buildah manifest add registry.org/image:latest registry.org/image:arm64
buildah manifest add registry.org/image:latest registry.org/image:arm64

Push Image

You can now push the latest tag to your preferred registry and it'll be uploaded with both architecture images intact.

buildah manifest push registry.org/image:latest