diff options
-rwxr-xr-x | docker-build.sh | 4 | ||||
-rw-r--r-- | version.properties | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/docker-build.sh b/docker-build.sh index d74b4dc..43c6b44 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -108,7 +108,7 @@ EOF # # build the docker image. tag and then push to the remote repo # -IMAGE='openecomp/dcae-controller-common-event' +IMAGE='openecomp/dcae-collector-common-event' #TAG='1.0.0' VERSION=$(xpath -e "//project/version/text()" "pom.xml") EXT=$(echo "$VERSION" | rev | cut -s -f1 -d'-' | rev) @@ -147,7 +147,7 @@ if [ ! -z "$REPO" ]; then docker push "${RFQI}" - TAG="LATEST" + TAG="latest" LFQI="${IMAGE}:${TAG}" RFQI2="${REPO}/${LFQI}" echo "$LFQI" diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..8bc13ef --- /dev/null +++ b/version.properties @@ -0,0 +1,6 @@ +major=1
+minor=0
+patch=0
+base_version="${major}.${minor}.${patch}"
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT
|