From be39d8ce9254a39a2d80b98980a81cc12f2ec82a Mon Sep 17 00:00:00 2001 From: Sai Gandham Date: Tue, 29 May 2018 15:56:27 +0000 Subject: tag old version in dprops Issue-ID: AAF-332 Change-Id: I8bfe0eb489d955d3dade8fcdbb9a70fc319d3f02 Signed-off-by: Sai Gandham --- auth/docker/d.props | 1 + auth/docker/dpush.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg