kmova / release-helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script to push multiarch image to quay or other registries

akhilerm opened this issue · comments

The current container management scripts only pulls and pushed arch specific images to specific registries. A script to pull multiarch from docker and push to other registries can be added.

It helps to maintain a backup location for multiarch images in quay. Also, users having custom onprem registries can make use of this script to push multiarch images.

The following command can be used to push multiarch images. (NOTE: should login to all registries before using this command)

docker run -i --rm -v $HOME/.docker/config.json:/root/.docker/config.json tonistiigi/repo-copy:latest docker.io/openebs/IMG:TAG quay.io/REPO/IMG:TAG

Have created a github action to do the same. https://github.com/marketplace/actions/tag-push-action