From 1950f39fbd6c15b569d764f84e484fe9a203b49f Mon Sep 17 00:00:00 2001 From: Vanessa Valderrama Date: Thu, 6 Oct 2022 13:49:03 -0500 Subject: [PATCH] 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 --- releasenotes/notes/fix-docker-push-109df3ce32505b1c.yaml | 5 +++++ shell/docker-push.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/fix-docker-push-109df3ce32505b1c.yaml 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" -- 2.16.6