123456789101112131415161718192021222324252627282930313233343536373839404142 |
- kind: pipeline
- type: docker
- name: kpt-tmr
- steps:
- - name: build
- image: plugins/docker:20.14.2
- volumes:
- - name: hosts
- path: /etc/hosts
- - name: docker-ca
- path: /etc/docker
- - name: docker-sock
- path: /var/run/docker.sock
- settings:
- # dockerfile: /drone/src/Dockerfile
- username:
- from_secret: aliyun_name
- password:
- from_secret: aliyun_password
- repo: registry.cn-hangzhou.aliyuncs.com/kpt-event/kpt-tmr
- registry: registry.cn-hangzhou.aliyuncs.com
- tags: [ 1.0.3,latest ]
- trigger:
- branch:
- include:
- - develop
- event:
- include:
- - push
- volumes:
- - name: host
- host:
- path: /etc/host
- - name: docker-ca
- host:
- path: /ect/docker
- - name: docker-sock
- host:
- path: /var/run/docker.sock
|