summaryrefslogtreecommitdiffstats
path: root/lcm/docker/build_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/docker/build_image.sh')
-rwxr-xr-xlcm/docker/build_image.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/lcm/docker/build_image.sh b/lcm/docker/build_image.sh
index 52ed777b..443142a5 100755
--- a/lcm/docker/build_image.sh
+++ b/lcm/docker/build_image.sh
@@ -19,15 +19,14 @@ if [ $HTTPS_PROXY ]; then
BUILD_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}"
fi
-function build_vnflcm {
+function build_image {
docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:${VERSION} -t ${IMAGE_NAME}:latest .
}
-function push_vnflcm {
+function push_image {
docker push ${IMAGE_NAME}:${VERSION}
docker push ${IMAGE_NAME}:latest
}
-build_vnflcm
-push_vnflcm
-
+build_image
+push_image