summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSai Gandham <sg481n@att.com>2018-05-29 15:56:27 +0000
committerSai Gandham <sg481n@att.com>2018-05-29 15:56:38 +0000
commitbe39d8ce9254a39a2d80b98980a81cc12f2ec82a (patch)
tree8527e97cf8a1d0d7133690344d3d85cc8e384740
parent65bc9f1c8a4c75ebcc09926bcb3e77571ea54764 (diff)
tag old version in dprops
Issue-ID: AAF-332 Change-Id: I8bfe0eb489d955d3dade8fcdbb9a70fc319d3f02 Signed-off-by: Sai Gandham <sg481n@att.com>
-rw-r--r--auth/docker/d.props1
-rw-r--r--auth/docker/dpush.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/auth/docker/d.props b/auth/docker/d.props
index d71a7230..4522c2b4 100644
--- a/auth/docker/d.props
+++ b/auth/docker/d.props
@@ -2,6 +2,7 @@
ORG=onap
PROJECT=aaf
DOCKER_REPOSITORY=nexus3.onap.org:10003
+OLD_VERSION=2.1.0-SNAPSHOT
VERSION=2.1.1-SNAPSHOT
CONF_ROOT_DIR=/opt/app/osaaf
diff --git a/auth/docker/dpush.sh b/auth/docker/dpush.sh
index 3c1a28fc..8d0c2f6d 100644
--- a/auth/docker/dpush.sh
+++ b/auth/docker/dpush.sh
@@ -11,6 +11,7 @@ else
fi
for AAF_COMPONENT in ${AAF_COMPONENTS}; do
- docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
+ docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
+ docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
done