aboutsummaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index 64630ab..a8712d1 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -69,7 +69,10 @@ install)
;;
deploy)
echo "==> deploy phase script"
+ TMPPWD="$(pwd)"
+ cd ${PROJECT_ROOT}
build_and_push_docker
+ cd ${TMPPWD}
;;
*)
echo "==> unprocessed phase"