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
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 \