Reomving the line break in the docker_push_command which is
causing the variable to not be set properly.
Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: Icfefd02eda2ec225cb74e91ff4637457b907ac7f
--- /dev/null
+---
+fixes:
+ - |
+ Remove line break in the docker_push_command variable
+ causing the varible to not be set properly
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"