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-pasture.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/Dockerfile
- username:
- from_secret: aliyuncs_username
- password:
- from_secret: aliyuncs_password
- repo: registry.cn-hangzhou.aliyuncs.com/kpt-event/kpt-pasture
- registry: registry.cn-hangzhou.aliyuncs.com
- tags: [ test ]
- trigger:
- branch:
- include:
- - feature/*
- event:
- include:
- - push
- volumes:
- - name: docker-ca
- host:
- path: /etc/docker
- - name: docker-sock
- host:
- path: /var/run/docker.sock
|