diff options
Diffstat (limited to 'mvn-phase-lib.sh')
-rwxr-xr-x | mvn-phase-lib.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mvn-phase-lib.sh b/mvn-phase-lib.sh index 2a924f7..6eb4b38 100755 --- a/mvn-phase-lib.sh +++ b/mvn-phase-lib.sh @@ -237,9 +237,8 @@ build_and_push_docker() VERSION2=$(echo "$VERSION" | cut -f1-2 -d'.') LFQI="${IMAGENAME}:${VERSION}-${TIMESTAMP}" - BUILD_PATH="${WORKSPACE}" # build a docker image - docker build --rm -f "${WORKSPACE}"/Dockerfile -t "${LFQI}" "${BUILD_PATH}" + docker build --rm -f ./Dockerfile -t "${LFQI}" ./ REPO="" if [ $MVN_DEPLOYMENT_TYPE == "SNAPSHOT" ]; then |