X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fdocker-push.sh;h=fa30ea0360f7414d0fc6148e5ea8b2057242193c;hb=e50da79e348b4302edf4f2cc2ed4842830f9cc54;hp=83996fab6404a2210e08cfc48a1bf3aba8461e61;hpb=8f00e059ea64956604ea2d23ebe46e4fda788cdf;p=releng%2Fglobal-jjb.git diff --git a/shell/docker-push.sh b/shell/docker-push.sh index 83996fab..fa30ea03 100644 --- a/shell/docker-push.sh +++ b/shell/docker-push.sh @@ -13,5 +13,7 @@ echo "---> docker-push.sh" # Ensure we fail the job if any steps fail set -ue -o pipefail - -docker push "$CONTAINER_PUSH_REGISTRY/$DOCKER_IMAGE" +echo "---> Pushing image: $CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" +docker_push_command="docker push "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG"" +echo "$docker_push_command" +eval "$docker_push_command"