diff options
author | Lusheng Ji <lji@research.att.com> | 2017-09-12 17:56:54 +0000 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2017-09-12 17:57:01 +0000 |
commit | a7d0d37bdab8a8d93ceb872219d9397da294dc51 (patch) | |
tree | 3164490bd2bf7a623fbcacb56098344f9064c9f6 /mvn-phase-lib.sh | |
parent | 72725a2d9e1f23f74d2e0c4343e38b92fb68916f (diff) |
Legalize docker image name
Issue-Id: DCAEGEN2-60
Change-Id: I08fccf8849ebebfc326cf998fffbba490d31a860
Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'mvn-phase-lib.sh')
-rwxr-xr-x | mvn-phase-lib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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.]/}" |