/docker-multiarch

Golang utility to generate a multi-architecture docker image from a set of per-architecture images

Primary LanguageGoMIT LicenseMIT

docker-multiarch

A simple golang program that reads a set of per-architecture docker image manifests and then generates a multi-architecture manifest list and publishes it back to the same registry containing the original images.

Build

$ go build -o docker-multiarch main.go

Usage

$ ./docker-multiarch
Usage: ./docker-multiarch [-u username] [-p password] destination_image source_image1 source_image2 ...

Example

./docker-multiarch myregistry/myimage:mytag myregistry/myimage_arm64:mytag myregistry/myimage_amd64:mytag