Merge "Fix: Correctly capture openstack port cli output"
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Tue, 11 Oct 2022 19:08:18 +0000 (19:08 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Tue, 11 Oct 2022 19:08:18 +0000 (19:08 +0000)
releasenotes/notes/fix-docker-push-109df3ce32505b1c.yaml [new file with mode: 0644]
releasenotes/notes/fix-docker-push-4113e45cde55fc56.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.
diff --git a/releasenotes/notes/fix-docker-push-4113e45cde55fc56.yaml b/releasenotes/notes/fix-docker-push-4113e45cde55fc56.yaml
new file mode 100644 (file)
index 0000000..5474cfc
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Remove line break in the docker_push_command variable
+    causing the varible to not be set properly
index 9348e8c..d8efac6 100644 (file)
@@ -15,8 +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" \
-    "$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"
 echo "---> docker-push.sh ends"