refactor: .devops/自动上传镜像.yml

This commit is contained in:
Eazzy 2024-05-25 12:35:11 +00:00 committed by jianmu
parent 31a2d5d93e
commit 1f05a724fd
1 changed files with 14 additions and 0 deletions

View File

@ -36,6 +36,20 @@ workflow:
- ref: end
name: 结束
task: end
needs:
- ssh_cmd_0
- ref: ssh_cmd_0
name: ssh执行命令
task: ssh_cmd@1.1.1
input:
ssh_ip: '"121.43.168.217"'
ssh_port: '"3000"'
ssh_user: '"root"'
ssh_cmd: >-
"docker pull
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_groupeazzy:latest"
"docker run -p 3000:3000 registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_groupeazzy:latest"
needs:
- docker_image_build_0