3 MYSQL_ROOT_PASSWORD="root"
6 VERSION="1.0.0-SNAPSHOT"
9 DOCKER_REPOSITORY="nexus3.onap.org:10003"
11 if [ $HTTP_PROXY ]; then
12 PROXY_ARGS+="--build-arg HTTP_PROXY=${HTTP_PROXY}"
14 if [ $HTTPS_PROXY ]; then
15 PROXY_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}"
18 function build_vnflcm {
19 docker build ${PROXY_ARGS} -t ${ORG}/${PROJECT}/${IMAGE}:${VERSION} -t ${ORG}/${PROJECT}/${IMAGE}:latest .
22 function push_vnflcm {
23 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/${IMAGE}:${VERSION}
24 docker push ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/${IMAGE}:latest