From: Vanessa Valderrama Date: Thu, 6 Oct 2022 18:49:03 +0000 (-0500) Subject: Fix: docker-push failure X-Git-Tag: v0.81.5^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=1950f39fbd6c15b569d764f84e484fe9a203b49f;p=releng%2Fglobal-jjb.git Fix: docker-push failure Fixing a syntax error causing the docker_push_command variable to not be set properly. Signed-off-by: Vanessa Valderrama Change-Id: Ie82a4db9b559009943017747e07101e3ae547fe7 --- diff --git a/releasenotes/notes/fix-docker-push-109df3ce32505b1c.yaml b/releasenotes/notes/fix-docker-push-109df3ce32505b1c.yaml new file mode 100644 index 00000000..94c434fd --- /dev/null +++ b/releasenotes/notes/fix-docker-push-109df3ce32505b1c.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fix the docker-push script which is broken due to a synxtax error causing + the docker_push_command variable to not be set. diff --git a/shell/docker-push.sh b/shell/docker-push.sh index 9348e8cd..ee9b1b23 100644 --- a/shell/docker-push.sh +++ b/shell/docker-push.sh @@ -15,7 +15,7 @@ echo "---> docker-push.sh" set -ue -o pipefail docker --version echo "Pushing image: $CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" -docker_push_command="docker push" \ +docker_push_command="docker push " \ "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" echo "$docker_push_command" eval "$docker_push_command"