-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
68 lines (60 loc) · 1.23 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
---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
clone:
disable: true
workspace:
base: /root/go
path: src/github.com/presslabs/dashboard
steps:
- name: git
pull: if-not-exists
image: plugins/git
settings:
depth: 100
tags: true
- name: publish-graphite-web
pull: if-not-exists
image: plugins/docker
settings:
context: graphite-web
dockerfile: graphite-web/Dockerfile
group: publish
registry: quay.io
repo: quay.io/presslabs/graphite-web
tags:
- ${DRONE_TAG:-${DRONE_BRANCH/master/latest}}
- ${DRONE_COMMIT_SHA:0:8}
username: presslabs+drone
environment:
DOCKER_PASSWORD:
from_secret: QUAY_TOKEN
when:
event:
- push
- name: publish-go-carbon
pull: if-not-exists
image: plugins/docker
settings:
context: go-carbon
dockerfile: go-carbon/Dockerfile
group: publish
registry: quay.io
repo: quay.io/presslabs/go-carbon
tags:
- ${DRONE_TAG:-${DRONE_BRANCH/master/latest}}
- ${DRONE_COMMIT_SHA:0:8}
username: presslabs+drone
environment:
DOCKER_PASSWORD:
from_secret: QUAY_TOKEN
when:
event:
- push
---
kind: signature
hmac: cdb4f35574cd0fc9e36b91e5bc1a39d26ac26bc9446a4920ec938fac577f7769
...