From 3faa972ed076863ffd179895970f2b97ecde0fe1 Mon Sep 17 00:00:00 2001 From: "ying.yunlong" Date: Wed, 6 Sep 2017 10:57:52 +0800 Subject: Update vnfres docker build function name Change-Id: I7b1b4648257aa8d4501d840f55c5cc1d6b9f1e4a Issue-ID: VFC-289 Signed-off-by: ying.yunlong --- res/docker/build_image.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'res/docker/build_image.sh') diff --git a/res/docker/build_image.sh b/res/docker/build_image.sh index 55eaeb9..246cef7 100644 --- a/res/docker/build_image.sh +++ b/res/docker/build_image.sh @@ -19,16 +19,16 @@ if [ $HTTPS_PROXY ]; then BUILD_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}" fi -function build_vnfres { +function build_image { echo "Start build docker image: ${IMAGE_NAME}" docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:${VERSION} -t ${IMAGE_NAME}:latest . } -function push_vnfres { +function push_image { echo "Start push docker image: ${IMAGE_NAME}" docker push ${IMAGE_NAME}:${VERSION} docker push ${IMAGE_NAME}:latest } -build_vnfres -push_vnfres +build_image +push_image -- cgit 1.2.3-korg