aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmvn-phase-script.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index 64630ab..456790a 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -69,7 +69,10 @@ install)
;;
deploy)
echo "==> deploy phase script"
- build_and_push_docker
+ (
+ cd ${PROJECT_ROOT}
+ build_and_push_docker
+ )
;;
*)
echo "==> unprocessed phase"