feat: .devops/未命名项目.yml

This commit is contained in:
hejiayu47 2024-05-25 13:47:56 +00:00 committed by jianmu
parent de47f22f46
commit 1b08117c1d
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
version: 2
name: 未命名项目
description: ""
global:
concurrent: 1
workflow:
- ref: start
name: 开始
task: start
- ref: ssh_cmd_0
name: ssh执行命令
task: ssh_cmd@1.1.1
input:
ssh_pass: ((server.password))
ssh_ip: '"121.43.168.217"'
ssh_port: '"22"'
ssh_user: '"root"'
ssh_cmd: '"sudo docker login registry.cnguangzhou.aliyuncs.com"'
needs:
- start
- ref: end
name: 结束
task: end
needs:
- ssh_cmd_0