summaryrefslogtreecommitdiffstats
path: root/docker/build_image.sh
diff options
context:
space:
mode:
authorfengyuanxing <feng.yuanxing@zte.com.cn>2017-09-06 16:07:44 +0800
committerfengyuanxing <feng.yuanxing@zte.com.cn>2017-09-06 16:21:19 +0800
commit76f3faa67bcd60ec2878afedf3872fb3508769c9 (patch)
treedb4057038fd50df1eebd88d2be251f9f8b14f4cd /docker/build_image.sh
parent5c4dd794745980b8ea526141e0c45ffa4274b940 (diff)
Modify scripts renaming methods
Change-Id: I87aa34de1817c5060005dd4af7c1029e10a8fa79 Issu-Id: VFC-264 Signed-off-by: fengyuanxing <feng.yuanxing@zte.com.cn>
Diffstat (limited to 'docker/build_image.sh')
-rwxr-xr-xdocker/build_image.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/build_image.sh b/docker/build_image.sh
index 79695456..2a7943ed 100755
--- a/docker/build_image.sh
+++ b/docker/build_image.sh
@@ -19,16 +19,16 @@ if [ $HTTPS_PROXY ]; then
BUILD_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}"
fi
-function build_catalog {
+function build_image {
echo "Start build docker image: ${IMAGE_NAME}"
docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:${VERSION} -t ${IMAGE_NAME}:latest .
}
-function push_catalog {
+function push_image {
echo "Start push docker image: ${IMAGE_NAME}"
docker push ${IMAGE_NAME}:${VERSION}
docker push ${IMAGE_NAME}:latest
}
-build_catalog
-push_catalog
+build_image
+push_image