Stop pushing the release tag 09/97909/1
authorCristina Pauna <cristina.pauna@enea.com>
Mon, 4 Nov 2019 13:27:17 +0000 (15:27 +0200)
committerCristina Pauna <cristina.pauna@enea.com>
Mon, 4 Nov 2019 13:30:39 +0000 (15:30 +0200)
The release tag should not be pushed during the development cycle
(by the stage or merge jobs). Only the release jobs should push this tag

Issue-ID: POLICY-1997
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I23b317f37ad9fc3a03c5d9847f5baf7d0bf1852f

docker_push_manifest.sh

index 7e2ba85..48ad65e 100755 (executable)
@@ -38,7 +38,7 @@ chmod u+x manifest-tool
 set +e
 for image in ${IMAGES}; do
     # always (re)create both SNAPSHOT and STAGING tags to make sure everything is up to date
-    TAGS="latest ${release_version} ${release_version}-SNAPSHOT ${release_version}-SNAPSHOT-latest ${release_version}-STAGING-latest"
+    TAGS="latest ${release_version}-SNAPSHOT ${release_version}-SNAPSHOT-latest ${release_version}-STAGING-latest"
     for tag in ${TAGS}; do
         ./manifest-tool push from-args \
             --ignore-missing \