forked from rancher/server-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
55 lines (52 loc) · 1.18 KB
/
.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
52
53
54
55
---
pipeline:
build:
image: rancher/dapper:1.11.2
commands:
- dapper ci
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
ref:
exclude: [ regs/tags/*stable* ]
promote_stable:
image: rancher/dapper:1.11.2
commands:
- dapper promote
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
branch: master
event: tag
ref:
include: [ regs/tags/*stable* ]
publish-latest:
image: plugins/gcs
source: charts/latest
target: releases.rancher.com/server-charts/latest
acl:
- allUsers:READER
cache_control: public,max-age=3600
secrets:
- source: google_auth_key
target: GOOGLE_CREDENTIALS
when:
branch: master
event: tag
ref:
exclude: [ regs/tags/*stable* ]
publish-stable:
image: plugins/gcs
source: charts/stable
target: releases.rancher.com/server-charts/stable
acl:
- allUsers:READER
cache_control: public,max-age=3600
secrets:
- source: google_auth_key
target: GOOGLE_CREDENTIALS
when:
branch: master
event: tag
ref:
include: [ regs/tags/*stable* ]