diff options
author | Taka Cho <takamune.cho@att.com> | 2021-08-10 13:38:45 -0400 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2021-08-10 13:46:01 -0400 |
commit | 446cd49e69708cecbd5ce069d41f17c22b657fa1 (patch) | |
tree | 7ce1fb197e522a6a76977de8118aa77b61debb5e /utils/groovy | |
parent | dba630d099ad3366d398407e6c1cae263324f787 (diff) |
use url resource for docker-tag -- docker
use groovy url resource from docker repo
to identify the tag for docker
With this change, the "SNAPSHOT-latest" docker
tag will change from "2.3.0-SNAPSHOT-latest"
to "2.3-SNAPSHOT-latest" for jdk/jre alpine base
image as well as db_migrator docker.
Also fix a bug in println groovy script.
Issue-ID: POLICY-3378
Change-Id: I72bd15e2535f688629ee5f1a823409d8fe83cdb1
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'utils/groovy')
-rw-r--r-- | utils/groovy/docker-tag.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/groovy/docker-tag.groovy b/utils/groovy/docker-tag.groovy index 432deb93..1360974a 100644 --- a/utils/groovy/docker-tag.groovy +++ b/utils/groovy/docker-tag.groovy @@ -30,5 +30,5 @@ if (project.properties['dist.project.version'] != null) { project.properties['project.docker.latest.minmax.tag.version'] = minMaxVersionArray[0] + "." + minMaxVersionArray[1] + "-STAGING-latest" } - println 'New tag for docker: ' + properties['project.docker.latest.minmax.tag.version'] + println 'New tag for docker: ' + project.properties['project.docker.latest.minmax.tag.version'] } |