forked from Lesin/reposync
Merge branch 'master' of https://gitlink.org.cn/qinxinqi/reposync into huaijin
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
This commit is contained in:
commit
98deebf9cd
|
|
@ -33,11 +33,11 @@ workflow:
|
|||
name: docker镜像构建
|
||||
task: docker_image_build@1.6.0
|
||||
input:
|
||||
docker_username: ((qinxinqi.aliyun_username))
|
||||
docker_password: ((qinxinqi.aliyun_passwd))
|
||||
image_name: '"crpi-ztziizjrn1v9ynub.cn-hangzhou.personal.cr.aliyuncs.com/qinxinqi22/group_03"'
|
||||
image_tag: '"repo"'
|
||||
registry_address: '"crpi-ztziizjrn1v9ynub.cn-hangzhou.personal.cr.aliyuncs.com"'
|
||||
docker_username: ((repo.aliyun_username))
|
||||
docker_password: ((repo.aliyun_passwd))
|
||||
image_name: '"crpi-ssgwdft90l0ewcv6.cn-hangzhou.personal.cr.aliyuncs.com/qiuzhenlin/repo"'
|
||||
image_tag: '"latest"'
|
||||
registry_address: '"crpi-ssgwdft90l0ewcv6.cn-hangzhou.personal.cr.aliyuncs.com"'
|
||||
docker_file: '"Dockerfile"'
|
||||
docker_build_path: '"."'
|
||||
workspace: git_clone_0.git_path
|
||||
|
|
@ -49,14 +49,14 @@ workflow:
|
|||
name: ssh执行命令
|
||||
task: ssh_cmd@1.1.1
|
||||
input:
|
||||
ssh_pass: ((qinxinqi.ssh_passwd))
|
||||
ssh_pass: ((repo.ssh_passwd))
|
||||
ssh_ip: '"114.55.175.219"'
|
||||
ssh_port: '"22"'
|
||||
ssh_user: '"root"'
|
||||
ssh_cmd: '"docker stop group_03_01 || true && docker rm group_03_01 || true && docker
|
||||
pull
|
||||
crpi-ztziizjrn1v9ynub.cn-hangzhou.personal.cr.aliyuncs.com/qinxinqi22/group_03:repo;
|
||||
docker run -d -p 3001:3001 --name group_03_01
|
||||
crpi-ztziizjrn1v9ynub.cn-hangzhou.personal.cr.aliyuncs.com/qinxinqi22/group_03:repo"'
|
||||
crpi-ssgwdft90l0ewcv6.cn-hangzhou.personal.cr.aliyuncs.com/qiuzhenlin/repo:latest;
|
||||
docker run -d -p 8089:8000 --name group_03_01 -e BOOT_MODE=''app''
|
||||
crpi-ssgwdft90l0ewcv6.cn-hangzhou.personal.cr.aliyuncs.com/qiuzhenlin/repo:latest"'
|
||||
needs:
|
||||
- docker_image_build_0
|
||||
Loading…
Reference in New Issue