Created
November 8, 2018 18:08
-
-
Save micaelis72/79f6ea596b5df85f6505344b474d5c4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
REGISTRY=${1} | |
ORIGIN=${2} | |
INVENTORY=${3} | |
for images in $(cat ${INVENTORY}) ; do | |
echo "Inserting image ${images}" | |
skopeo copy dir:${ORIGIN}/${images} docker://${REGISTRY}/${images} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment