diff --git a/script/build_push_k8s_images.sh b/script/build_push_k8s_images.sh index 563f588a9..432457298 100644 --- a/script/build_push_k8s_images.sh +++ b/script/build_push_k8s_images.sh @@ -11,7 +11,7 @@ set +e echo "repository: ${repository}" source ./path_info.cfg echo "start to build docker images" -currentPwd=${pwd} +currentPwd=`pwd` echo ${currentPwd} i=0 for path in ${service_source_root[*]} @@ -24,7 +24,6 @@ do echo "build ${image} success" docker push ${image} echo "push ${image} success" - cd ${currentPwd} echo "==============================" i=$((i + 1)) cd ${currentPwd}