From eb91b83c836d25fa2b50253b9349cdb3f34f91a2 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 16 Jun 2023 14:04:26 +0800 Subject: [PATCH] sh --- script/build_push_k8s_images.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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}