|
|
@ -44,10 +44,15 @@ workflow:
|
|
|
|
name: ssh执行命令
|
|
|
|
name: ssh执行命令
|
|
|
|
task: ssh_cmd@1.1.1
|
|
|
|
task: ssh_cmd@1.1.1
|
|
|
|
input:
|
|
|
|
input:
|
|
|
|
ssh_ip: '""'
|
|
|
|
ssh_pass: ((ssh.password))
|
|
|
|
|
|
|
|
ssh_ip: '"120.27.137.186"'
|
|
|
|
ssh_port: '"22"'
|
|
|
|
ssh_port: '"22"'
|
|
|
|
ssh_user: '"root"'
|
|
|
|
ssh_user: '"root"'
|
|
|
|
ssh_cmd: '""'
|
|
|
|
ssh_cmd: '"docker stop feng22: || true && docker rm feng22: || true && docker
|
|
|
|
|
|
|
|
pull
|
|
|
|
|
|
|
|
crpi-ybi767umyzh9owc0.cn-hangzhou.personal.cr.aliyuncs.com/feng22/feng22:latest;
|
|
|
|
|
|
|
|
docker run -d -p 3000:3000 --name feng22:
|
|
|
|
|
|
|
|
crpi-ybi767umyzh9owc0.cn-hangzhou.personal.cr.aliyuncs.com/feng22/feng22:latest"'
|
|
|
|
needs:
|
|
|
|
needs:
|
|
|
|
- docker_image_build_0
|
|
|
|
- docker_image_build_0
|
|
|
|
|
|
|
|
|
|
|
|