diff options
Diffstat (limited to 'newton')
-rw-r--r-- | newton/docker/build_image.sh | 4 | ||||
-rw-r--r-- | newton/pom.xml | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/newton/docker/build_image.sh b/newton/docker/build_image.sh index fd8fb8cd..203283d1 100644 --- a/newton/docker/build_image.sh +++ b/newton/docker/build_image.sh @@ -7,6 +7,7 @@ cd ${DOCKER_BUILD_DIR} BUILD_ARGS="--no-cache" ORG="onap" VERSION="1.0.0-SNAPSHOT" +STAGING="1.0.0-STAGING" PROJECT="multicloud" IMAGE="openstack-newton" DOCKER_REPOSITORY="nexus3.onap.org:10003" @@ -20,12 +21,13 @@ if [ $HTTPS_PROXY ]; then fi function build_image { - docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:${VERSION} -t ${IMAGE_NAME}:latest . + docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:${VERSION} -t ${IMAGE_NAME}:latest -t ${IMAGE_NAME}:${STAGING} . } function push_image { docker push ${IMAGE_NAME}:${VERSION} docker push ${IMAGE_NAME}:latest + docker push ${IMAGE_NAME}:${STAGING} } build_image diff --git a/newton/pom.xml b/newton/pom.xml index 555f3b53..ceff90cc 100644 --- a/newton/pom.xml +++ b/newton/pom.xml @@ -28,6 +28,12 @@ <packaging>pom</packaging> <name>multicloud/openstack/newton</name> <description>multicloud for openstack newton</description> + <properties> + <encoding>UTF-8</encoding> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <nexusproxy>https://nexus.onap.org</nexusproxy> + </properties> <build> <plugins> <plugin> |