Fixed bug in finding version to push. 77/877/1
authorCarsten Lund <lund@research.att.com>
Mon, 20 Feb 2017 01:04:22 +0000 (01:04 +0000)
committerCarsten Lund <lund@research.att.com>
Mon, 20 Feb 2017 01:04:22 +0000 (01:04 +0000)
Change-Id: Iedf1fd2c29dc5605f1b8a2edbbc362df46e97eae
Signed-off-by: Carsten Lund <lund@research.att.com>
dcae-demo-controller/src/main/docker-build/push.sh

index 379cfd5..5026c1d 100644 (file)
@@ -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</.*XX' | sed 's/.*>//')
 DOCKER_REG=$1
 TAG=$DOCKER_REG/dcae-controller:$VERSION