summaryrefslogtreecommitdiffstats
path: root/scripts/mvn-phase-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mvn-phase-lib.sh')
-rw-r--r--scripts/mvn-phase-lib.sh7
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}"