|
|
|
@@ -131,13 +131,13 @@ build_and_deploy() { |
|
|
|
|
|
|
|
# 构建和部署 manage 服务 |
|
|
|
if [ "$service" == "manage-front" ] || [ "$service" == "manage" ]; then |
|
|
|
build_and_deploy "managent-dockerfile" "172.20.32.187/ci4s/ci4s-managent:${tag}" "k8s-7management.yaml" |
|
|
|
build_and_deploy "managent-dockerfile" "ccr.ccs.tencentyun.com/somunslotus/ci4s-managent:${tag}" "k8s-7management.yaml" |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# 构建和部署 front 服务 |
|
|
|
if [ "$service" == "manage-front" ] || [ "$service" == "front" ]; then |
|
|
|
build_and_deploy "nginx-dockerfile" "172.20.32.187/ci4s/ci4s-front:${tag}" "k8s-12front.yaml" |
|
|
|
build_and_deploy "nginx-dockerfile" "ccr.ccs.tencentyun.com/somunslotus/ci4s-front:${tag}" "k8s-12front.yaml" |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|