summaryrefslogtreecommitdiffstats
path: root/mgr/docker/build_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mgr/docker/build_image.sh')
-rwxr-xr-xmgr/docker/build_image.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/mgr/docker/build_image.sh b/mgr/docker/build_image.sh
index f51e90d..1bbc2d0 100755
--- a/mgr/docker/build_image.sh
+++ b/mgr/docker/build_image.sh
@@ -13,6 +13,8 @@ DOCKER_REPOSITORY="nexus3.onap.org:10003"
IMAGE_NAME="${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/${IMAGE}"
TIMESTAMP=$(date +"%Y%m%dT%H%M%S")
+BUILD_ARGS+=" --build-arg PKG_VERSION=${VERSION}"
+
if [ $HTTP_PROXY ]; then
BUILD_ARGS+=" --build-arg HTTP_PROXY=${HTTP_PROXY}"
fi