From 10544f9cc3a7bbef787003c7e89735d11d38aeaf Mon Sep 17 00:00:00 2001 From: Carsten Lund Date: Sat, 18 Feb 2017 18:23:18 +0000 Subject: Changes for docker push in LF Change-Id: I2e4a2e0ae5afcc1665580b90072114f5598becde Signed-off-by: Carsten Lund --- dcae-demo-controller/src/main/docker-build/push.sh | 5 +- .../src/main/resources/settings.xml | 66 ---------------------- 2 files changed, 1 insertion(+), 70 deletions(-) delete mode 100644 dcae-demo-controller/src/main/resources/settings.xml (limited to 'dcae-demo-controller/src') diff --git a/dcae-demo-controller/src/main/docker-build/push.sh b/dcae-demo-controller/src/main/docker-build/push.sh index dd43aa9..379cfd5 100644 --- a/dcae-demo-controller/src/main/docker-build/push.sh +++ b/dcae-demo-controller/src/main/docker-build/push.sh @@ -8,12 +8,9 @@ cd $(dirname $(readlink -e $0)) GITROOT=../../../../.. VERSION=$(grep version $GITROOT/pom.xml | head -1 | sed 'sX//') -USER=$1 -PASSWORD=$2 -DOCKER_REG=$3 +DOCKER_REG=$1 TAG=$DOCKER_REG/dcae-controller:$VERSION docker tag dcae-controller:$VERSION $TAG -docker login -u $USER -p $PASSWORD $DOCKER_REG docker push $TAG diff --git a/dcae-demo-controller/src/main/resources/settings.xml b/dcae-demo-controller/src/main/resources/settings.xml deleted file mode 100644 index 6432c83..0000000 --- a/dcae-demo-controller/src/main/resources/settings.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - open-ecomp - - true - - - - osecomp-nexus-releases - OSECOMP Release Repository - https://ecomp-nexus:8443/repository/maven-releases - - - osecomp-nexus-snapshots - OSECOMP Snapshot Repository - https://ecomp-nexus:8443/repository/maven-snapshots - - - eclipse - https://repo.eclipse.org/content/repositories/releases - - true - daily - - - false - - - - - - - - - open-ecomp - - - - - osecomp-nexus - USER - PASSWORD - - - USER - PASSWORD - osecomp-nexus-releases - - - USER - PASSWORD - osecomp-nexus-snapshots - - - USER - PASSWORD - dcae-javadoc - - - -- cgit 1.2.3-korg