diff options
author | Sai Gandham <sg481n@att.com> | 2018-05-29 16:27:39 +0000 |
---|---|---|
committer | Sai Gandham <sg481n@att.com> | 2018-05-29 16:27:49 +0000 |
commit | fb319cb5dbe50fc606844c0cae866529ae0b25f2 (patch) | |
tree | 8ed5e2d8ce7fba7636a18bd7de61a1b50e153472 /auth/docker/dbuild.sh | |
parent | be39d8ce9254a39a2d80b98980a81cc12f2ec82a (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/dbuild.sh')
-rwxr-xr-x | auth/docker/dbuild.sh | 1 |
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 |