12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- kind: pipeline
- type: docker
- name: kptTmrGroup
- #clone:
- # depth: 1
- # disable: true
- steps:
- #- name: clone
- # image: alpine/git
- # commands:
- # - git clone -b develop http://kpt.kptyun.cn:3000/xuyiping/kpt-tmr-group.git
- # - ls -l
- # - pwd
- - 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/kpt-tmr-group/Dockerfile
- username:
- from_secret: aliyuncs_username
- password:
- from_secret: aliyuncs_password
- repo: registry.cn-hangzhou.aliyuncs.com/kpt-event/kpt-tmr-group
- registry: registry.cn-hangzhou.aliyuncs.com
- tags: [ 1.0.3,latest ]
- trigger:
- branch:
- include:
- - develop
- event:
- include:
- - push
- volumes:
- - name: docker-ca
- host:
- path: /etc/docker
- - name: docker-sock
- host:
- path: /var/run/docker.sock
|