更新部分文档,提交dockerfile
This commit is contained in:
parent
66976d982c
commit
dbc9499ef9
|
@ -0,0 +1,33 @@
|
||||||
|
version: 2
|
||||||
|
name: 未命名项目
|
||||||
|
description: ""
|
||||||
|
global:
|
||||||
|
concurrent: 1
|
||||||
|
workflow:
|
||||||
|
- ref: start
|
||||||
|
name: 开始
|
||||||
|
task: start
|
||||||
|
- ref: end
|
||||||
|
name: 结束
|
||||||
|
task: end
|
||||||
|
needs:
|
||||||
|
- ssh_cmd_0
|
||||||
|
- ref: ssh_cmd_0
|
||||||
|
name: ssh执行命令
|
||||||
|
task: ssh_cmd@1.1.1
|
||||||
|
input:
|
||||||
|
ssh_pass: ((ssh.key))
|
||||||
|
ssh_ip: '"121.43.168.217"'
|
||||||
|
ssh_port: '"22"'
|
||||||
|
ssh_user: '"root"'
|
||||||
|
ssh_cmd: "\"docker stop groupeazzy && docker rm groupeazzy && docker pull
|
||||||
|
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_grou\
|
||||||
|
peazzy:latest && docker images | grep
|
||||||
|
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_grou\
|
||||||
|
peazzy | awk '{if ($2 != \"latest\") print$3}' | xargs docker rmi &&
|
||||||
|
docker run -d -p 3000:3000 --name groupeazzy
|
||||||
|
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_grou\
|
||||||
|
peazzy:latest\""
|
||||||
|
needs:
|
||||||
|
- start
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
Loading…
Reference in New Issue