forked from rancher/kontainer-engine-driver-aliyun
/
.drone.yml
51 lines (46 loc) · 887 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
kind: pipeline
steps:
- name: build
privileged: true
image: rancher/dapper:1.11.2
volumes:
- name: docker
path: /var/run/docker.sock
commands:
- dapper ci
- name: github-binary-publish-release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
files:
- "bin/kontainer-engine-driver-aliyun-*"
when:
branch: master
event: tag
ref:
exclude: [ refs/tags/*rc* ]
- name: github-binary-publish-prerelease
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
files:
- "bin/kontainer-engine-driver-aliyun-*"
prerelease: true
when:
branch: master
event: tag
ref:
include: [ refs/tags/*rc* ]
volumes:
- name: docker
host:
path: /var/run/docker.sock
node:
instance: agent-amd64