update sh

This commit is contained in:
wangchuxiao
2023-06-16 12:14:30 +08:00
parent 2acff68f4c
commit 685511981a
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -15,6 +15,8 @@ currentPwd=${pwd}
i=0
for path in ${service_source_root[*]}
do
cd ${path}
make build
image="${repository}/${image_names[${i}]}:$version"
echo ${image}
docker build -t $image . -f ${path}/deploy.Dockerfile
@@ -23,6 +25,8 @@ do
echo "push ${image} success"
echo "=============================="
i=$((i + 1))
rm -rf ${service_names[${i}]}
cd ${currentPwd}
done
echo "build all images success"