diff options
author | 2019-02-16 15:23:41 +0000 | |
---|---|---|
committer | 2019-02-17 00:26:49 +0000 | |
commit | 2c984ca3fcd2d84e9e08db8f5498db6d3a96bdc5 (patch) | |
tree | 5e78e8c6f5cdc1f93e36955c83dd756e282add78 /scripts | |
parent | 1219143b0fead020ee2b53274a29504b6b5a11af (diff) |
fix snapshot tagging
Change-Id: I1cd7e9fcede2ecba9c327924532b61440ce9362a
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1183
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mvn-phase-lib.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/mvn-phase-lib.sh b/scripts/mvn-phase-lib.sh index fc959df..6e42087 100644 --- a/scripts/mvn-phase-lib.sh +++ b/scripts/mvn-phase-lib.sh @@ -526,7 +526,12 @@ build_and_push_docker() # {imagename}:{semver} latest of current version, for testing # {imagename}:latest latest of all, used mainly by csit # LFQI="${IMAGENAME}:${VERSION}-${TIMESTAMP}"Z - PUSHTAGS="${REPO}/${IMAGENAME}:${VERSION}-SNAPSHOT-${TIMESTAMP}Z ${REPO}/${IMAGENAME}:${VERSION} ${REPO}/${IMAGENAME}:latest" + + + + # Updating tags for ${REPO}/${IMAGENAME}:${VERSION} to include STAGING-latest; and adding new tag for major:minor-STAGING-latest + PUSHTAGS="${REPO}/${IMAGENAME}:${VERSION}-SNAPSHOT-${TIMESTAMP}Z ${REPO}/${IMAGENAME}:${VERSION2}-STAGING-latest ${REPO}/${IMAGENAME}:${VERSION}-STAGING-latest ${REPO}/${IMAGENAME}:latest" + for NEWTAG in ${PUSHTAGS} do echo "tagging ${OLDTAG} to ${NEWTAG}" |