kind: pipeline type: docker name: kptPasture clone: depth: 1 disable: true steps: - name: clone image: alpine/git commands: - git clone -b feature/event http://192.168.1.8:3000/xuyiping/kpt-pasture.git - cp -R kpt-pasture/* ./ - 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: [ http-test,mqtt-test,cron-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