Code Review
/
dcaegen2
/
collectors
/
ves.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
72725a2
)
Legalize docker image name
05/12005/1
author
Lusheng Ji
<lji@research.att.com>
Tue, 12 Sep 2017 17:56:54 +0000
(17:56 +0000)
committer
Lusheng Ji
<lji@research.att.com>
Tue, 12 Sep 2017 17:57:01 +0000
(17:57 +0000)
Issue-Id: DCAEGEN2-60
Change-Id: I08fccf8849ebebfc326cf998fffbba490d31a860
Signed-off-by: Lusheng Ji <lji@research.att.com>
mvn-phase-lib.sh
patch
|
blob
|
history
diff --git
a/mvn-phase-lib.sh
b/mvn-phase-lib.sh
index
6eb4b38
..
d3c3f25
100755
(executable)
--- 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.]/}"