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

double
fengyujue 2 months ago committed by jianmu
parent 41a73aa2cc
commit 792009a3f7

@ -11,7 +11,9 @@ workflow:
name: git clone
task: git_clone@1.2.9
input:
remote_url: '""'
username: ((user.user_name))
password: ((mima.mima1))
remote_url: '"https://gitlink.org.cn/fengyujue/gitlink_help_center.git"'
ref: '"refs/heads/master"'
commit_id: '""'
depth: 1
@ -20,6 +22,30 @@ workflow:
- ref: end
name: 结束
task: end
needs:
- ssh_cmd_0
- ref: docker_image_build_0
name: docker镜像构建
task: docker_image_build@1.6.0
input:
image_name: '""'
image_tag: '"latest"'
registry_address: '""'
docker_file: '"Dockerfile"'
docker_build_path: '"."'
workspace: '"."'
image_push: true
build_args: '""'
needs:
- git_clone_0
- ref: ssh_cmd_0
name: ssh执行命令
task: ssh_cmd@1.1.1
input:
ssh_ip: '""'
ssh_port: '"22"'
ssh_user: '"root"'
ssh_cmd: '""'
needs:
- docker_image_build_0

Loading…
Cancel
Save