refactor: .devops/SSH命令调试.yml

This commit is contained in:
Eazzy 2024-05-27 06:56:38 +00:00 committed by jianmu
parent b0c973598d
commit 00f64ad82e
1 changed files with 2 additions and 3 deletions

View File

@ -20,9 +20,8 @@ workflow:
ssh_ip: '"121.43.168.217"'
ssh_port: '"22"'
ssh_user: '"root"'
ssh_cmd: "\"docker images | grep
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_grou\
peazzy | awk '{if ($2 != \"latest\") print$3}' | xargs docker rmi\""
ssh_cmd: '"docker run -d -p 3000:3000 --name groupeazzy
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_groupeazzy:latest"'
needs:
- start