Commit a59d0a48 authored by zhouzihao's avatar zhouzihao

fix

parent af8b38de
......@@ -198,7 +198,7 @@ const buildJava = async (projectObj, envObj, typeObj, configList, branch, versio
docker_push_str += " " + '- docker push ${IMAGE_LATEST_' + service_name + '}' + "\n";
//部署指令
if (is_deploy && deploy_list.indexOf(module_name) > 0) {
if (is_deploy && deploy_list.indexOf(module_name) >= 0) {
deploy_str += " " + `- docker service update --image ${envObj.registry_url}/${registry_group}/${project_name}/${image_name}:${version} ${deploy_name}` + "\n"
}
// 这里要写dockerfile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment