More verbosity to mirror script.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Stanislav Nikitin 2022-06-27 01:58:47 +05:00
parent f366a06689
commit 7173cab2ba
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550

View File

@ -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"