More verbosity to mirror script.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f366a06689
commit
7173cab2ba
@ -30,7 +30,7 @@ function mirror() {
|
|||||||
|
|
||||||
# shellcheck disable=SC1083
|
# shellcheck disable=SC1083
|
||||||
image_hash=$(docker images -a | grep "^${image_name}" | grep "${image_version}" | awk {' print $3 '})
|
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
|
if ! docker tag "${image_hash}" "${DESTINATION_REGISTRY}/${image}" &>/dev/null; then
|
||||||
echo "TAGGING FAILED"
|
echo "TAGGING FAILED"
|
||||||
|
Loading…
Reference in New Issue
Block a user