2021-01-08 15:07:35 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2023-07-12 15:13:04 +08:00
|
|
|
name: default
|
2023-07-12 15:14:19 +08:00
|
|
|
node:
|
|
|
|
region: cn
|
2021-01-08 15:07:35 +08:00
|
|
|
steps:
|
2023-07-12 15:13:04 +08:00
|
|
|
- name: docker-cn
|
|
|
|
pull: if-not-exists
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: ccr.ccs.tencentyun.com/xiaoqidun/pfenv
|
|
|
|
registry: ccr.ccs.tencentyun.com
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
- name: docker-hk
|
2021-01-08 15:07:35 +08:00
|
|
|
pull: if-not-exists
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2021-09-08 15:24:35 +08:00
|
|
|
repo: hkccr.ccs.tencentyun.com/xiaoqidun/pfenv
|
|
|
|
registry: hkccr.ccs.tencentyun.com
|
2021-01-08 15:07:35 +08:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
dockerfile: Dockerfile
|