This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
/
.drone.yml
97 lines (88 loc) · 2.41 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
pipeline:
build:
privileged: true
image: rancher/dapper:1.11.2
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- dapper ci
stage-binaries:
image: rancher/dapper:1.11.2
commands:
- cp -r ./bin/storage ./package/
- curl -sLf https://raw.githubusercontent.com/rancher/rancher/98660ada3d800f653fc1f105771b5173f9d1a019/server/bin/update-rancher-ssl > package/common/update-rancher-ssl
- chmod +x package/common/update-rancher-ssl
when:
branch: master
event: tag
publish-image-storage-abs:
image: plugins/docker
dockerfile: package/abs/Dockerfile
repo: rancher/storage-abs
context: package/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
when:
branch: master
event: tag
publish-image-storage-ebs:
image: plugins/docker
dockerfile: package/ebs/Dockerfile
repo: rancher/storage-ebs
context: package/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
when:
branch: master
event: tag
publish-image-storage-longhorn:
image: plugins/docker
dockerfile: package/longhorn/Dockerfile
repo: rancher/storage-longhorn
context: package/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
when:
branch: master
event: tag
publish-image-storage-nfs:
image: plugins/docker
dockerfile: package/nfs/Dockerfile
repo: rancher/storage-nfs
context: package/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
when:
branch: master
event: tag
publish-image-storage-rbd:
image: plugins/docker
dockerfile: package/rbd/Dockerfile
repo: rancher/storage-rbd
context: package/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
when:
branch: master
event: tag
publish-image-storage-secrets-bridge-v2:
image: plugins/docker
dockerfile: package/secrets-bridge-v2/Dockerfile
repo: rancher/storage-secrets-bridge-v2
context: package/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
when:
branch: master
event: tag
publish-image-storage-secrets:
image: plugins/docker
dockerfile: package/secrets/Dockerfile
repo: rancher/storage-secrets
context: package/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
when:
branch: master
event: tag