From 32a106d589916760dd2232c6a8570aa57c0ee893 Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Wed, 11 Oct 2017 16:19:45 +0800 Subject: Add staging docker images for OpenStack plugins Add staging docker images and enable logger of submodules Change-Id: Ib64f30ab50002dca67c6835866ffc46fc83d7934 Issue-Id: MULTICLOUD-110 Signed-off-by: Bin Yang --- newton/docker/build_image.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'newton/docker/build_image.sh') 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 -- cgit 1.2.3-korg