kmova / release-helper

2 stars 0 forks source link

Script to push multiarch image to quay or other registries #1

Open akhilerm opened 3 years ago

akhilerm commented 3 years ago

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
akhilerm commented 3 years ago

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