summaryrefslogtreecommitdiffstats
path: root/auth/docker
diff options
context:
space:
mode:
authorSai Gandham <sg481n@att.com>2018-05-29 16:27:39 +0000
committerSai Gandham <sg481n@att.com>2018-05-29 16:27:49 +0000
commitfb319cb5dbe50fc606844c0cae866529ae0b25f2 (patch)
tree8ed5e2d8ce7fba7636a18bd7de61a1b50e153472 /auth/docker
parentbe39d8ce9254a39a2d80b98980a81cc12f2ec82a (diff)
tag old version in dprops & dpush
Issue-ID: AAF-332 Change-Id: I78d8435a9ca45ad80d8539f4906d811115bcd62f Signed-off-by: Sai Gandham <sg481n@att.com>
Diffstat (limited to 'auth/docker')
-rwxr-xr-xauth/docker/dbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth/docker/dbuild.sh b/auth/docker/dbuild.sh
index ed99ec99..f5b4deeb 100755
--- a/auth/docker/dbuild.sh
+++ b/auth/docker/dbuild.sh
@@ -17,6 +17,7 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do
sed -e 's/${AAF_VERSION}/'${VERSION}'/g' -e 's/${AAF_COMPONENT}/'${AAF_COMPONENT}'/g' Dockerfile > ../aaf_${VERSION}/Dockerfile
cd ..
docker build -t ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} aaf_${VERSION}
+ docker tag ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${OLD_VERSION}
rm aaf_${VERSION}/Dockerfile
cd -
done