12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- kind: pipeline
- type: docker
- name: tmp-group-admin
- clone:
- depth: 1
- disable: true
- steps:
- - name: clone
- image: alpine/git
- commands:
- - git clone -b develop http://192.168.1.8:3000/duanxiaoduan/tmr-group-admin.git
- - cp -R tmr-group-admin/* ./
- - name: build
- image: plugins/docker
- 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/tmr-group-admin
- registry: registry.cn-hangzhou.aliyuncs.com
- tags: [ 1.0.0,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
|