tag old version in dprops
Issue-ID: AAF-332
Change-Id: I8bfe0eb489d955d3dade8fcdbb9a70fc319d3f02
Signed-off-by: Sai Gandham <sg481n@att.com>
diff --git a/auth/docker/d.props b/auth/docker/d.props
index d71a723..4522c2b 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 3c1a28f..8d0c2f6 100644
--- a/auth/docker/dpush.sh
+++ b/auth/docker/dpush.sh
@@ -11,6 +11,7 @@
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