From 8e9a1b32e3f415054bd0d29c832e79e680398c02 Mon Sep 17 00:00:00 2001 From: Carsten Lund Date: Mon, 20 Feb 2017 01:04:22 +0000 Subject: Fixed bug in finding version to push. Change-Id: Iedf1fd2c29dc5605f1b8a2edbbc362df46e97eae Signed-off-by: Carsten Lund --- dcae-demo-controller/src/main/docker-build/push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcae-demo-controller/src/main/docker-build/push.sh b/dcae-demo-controller/src/main/docker-build/push.sh index 379cfd5..5026c1d 100644 --- a/dcae-demo-controller/src/main/docker-build/push.sh +++ b/dcae-demo-controller/src/main/docker-build/push.sh @@ -6,7 +6,7 @@ set -x ## ensure we are in the right directory. cd $(dirname $(readlink -e $0)) -GITROOT=../../../../.. +GITROOT=../../.. VERSION=$(grep version $GITROOT/pom.xml | head -1 | sed 'sX//') DOCKER_REG=$1 TAG=$DOCKER_REG/dcae-controller:$VERSION -- cgit 1.2.3-korg