Fix: docker-push failure 32/70832/2 v0.81.5
authorVanessa Valderrama <vvalderrama@linuxfoundation.org>
Thu, 6 Oct 2022 18:49:03 +0000 (13:49 -0500)
committerVanessa Valderrama <vvalderrama@linuxfoundation.org>
Thu, 6 Oct 2022 19:13:43 +0000 (14:13 -0500)
Fixing a syntax error causing the docker_push_command
variable to not be set properly.

Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: Ie82a4db9b559009943017747e07101e3ae547fe7

releasenotes/notes/fix-docker-push-109df3ce32505b1c.yaml [new file with mode: 0644]
shell/docker-push.sh

diff --git a/releasenotes/notes/fix-docker-push-109df3ce32505b1c.yaml b/releasenotes/notes/fix-docker-push-109df3ce32505b1c.yaml
new file mode 100644 (file)
index 0000000..94c434f
--- /dev/null
@@ -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.
index 9348e8c..ee9b1b2 100644 (file)
@@ -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"