diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-06 10:39:04 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-06 10:39:04 +0800 |
commit | 9043ea7dd60a598e5797f8008695852d3b7e9a5d (patch) | |
tree | 111739efec414e44cdc96ba128bd985db5434d7a /docker/build_image.sh | |
parent | e89a8791f8da282309c576988f82ef6d22cc17d5 (diff) |
Fix docker build function name
Change-Id: I7122c0e6805535edce9e733843991c1c0e550ec9
Issue-Id: VFC-287
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker/build_image.sh')
-rwxr-xr-x | docker/build_image.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/build_image.sh b/docker/build_image.sh index 465bc7a1..3f2c46d0 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_lcm { +function build_image { echo "Start build docker image: ${IMAGE_NAME}" docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:${VERSION} -t ${IMAGE_NAME}:latest . } -function push_lcm { +function push_image { echo "Start push docker image: ${IMAGE_NAME}" docker push ${IMAGE_NAME}:${VERSION} docker push ${IMAGE_NAME}:latest } -build_lcm -push_lcm +build_image +push_image |