From 446cd49e69708cecbd5ce069d41f17c22b657fa1 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Tue, 10 Aug 2021 13:38:45 -0400 Subject: 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 --- utils/groovy/docker-tag.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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'] } -- cgit 1.2.3-korg