X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;ds=sidebyside;f=shell%2Fdocker-build.sh;h=0e8b709dc76ce2689f9f4b48d4ba221d242491d8;hb=c8b9acd166fcbd88139a65f7721e522980a0e013;hp=8453dcd1ca79c07fb60efc8475c5bfe1aa1161c9;hpb=8709ee5e00526ce3298b92a85a79a7f058d4216b;p=releng%2Fglobal-jjb.git diff --git a/shell/docker-build.sh b/shell/docker-build.sh index 8453dcd1..0e8b709d 100644 --- a/shell/docker-build.sh +++ b/shell/docker-build.sh @@ -12,10 +12,12 @@ echo "---> docker-build.sh" # Docker image build script set -eu -o pipefail -echo "---> Building image: $CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" +docker --version +echo "Building image: $CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" cd "$DOCKER_ROOT" # DOCKER_IMAGE_TAG variable gets constructed after lf-docker-get-container-tag builder step # is executed. It constructs the image name and the appropriate tag in the same varaiable. docker_build_command="docker build ${DOCKER_ARGS:-} -t "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" ." echo "$docker_build_command" eval "$docker_build_command" | tee "$WORKSPACE/docker_build_log.txt" +echo "---> docker-build.sh ends"