This commit is contained in:
1 file changed
+1
-1
@@ -30,7 +30,7 @@ function mirror() {
|
||||
|
||||
# shellcheck disable=SC1083
|
||||
image_hash=$(docker images -a | grep "^${image_name}" | grep "${image_version}" | awk {' print $3 '})
|
||||
echo -n "${image_hash} received... "
|
||||
echo -n "${image_hash} received, retag as '${DESTINATION_REGISTRY}/${image}'... "
|
||||
|
||||
if ! docker tag "${image_hash}" "${DESTINATION_REGISTRY}/${image}" &>/dev/null; then
|
||||
echo "TAGGING FAILED"
|
||||
|
||||
Reference in new issue
Block a user