From a7d0d37bdab8a8d93ceb872219d9397da294dc51 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Tue, 12 Sep 2017 17:56:54 +0000 Subject: Legalize docker image name Issue-Id: DCAEGEN2-60 Change-Id: I08fccf8849ebebfc326cf998fffbba490d31a860 Signed-off-by: Lusheng Ji --- mvn-phase-lib.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/mvn-phase-lib.sh b/mvn-phase-lib.sh index 6eb4b38b..d3c3f258 100755 --- a/mvn-phase-lib.sh +++ b/mvn-phase-lib.sh @@ -231,6 +231,7 @@ build_and_push_docker() { IMAGENAME="onap/${FQDN}.${MVN_PROJECT_MODULEID}" IMAGENAME=$(echo "$IMAGENAME" | sed -e 's/_*$//g' -e 's/\.*$//g') + IMAGENAME=$(echo "$IMAGENAME" | tr '[:upper:]' '[:lower:]') # use the major and minor version of the MVN artifact version as docker image version VERSION="${MVN_PROJECT_VERSION//[^0-9.]/}" -- cgit 1.2.3-korg