-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.drone.yml
62 lines (55 loc) · 1.19 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
---
kind: pipeline
type: docker
name: build-pr
clone:
disable: true
steps:
- name: clone
image: plugins/git
settings:
recursive: true
tags: true
- name: build
# https://github.com/drGrove/drone-kaniko/tree/v0.7.0
image: drgrove/drone-kaniko@sha256:e3045421c3683e6baf5628b22ea0ee1cd7ae217f4de0e1bc53a0a1a20335b108
depends_on: [ clone ]
settings:
reproducible: true
username: hashbangdrone
password:
from_secret: dockerhub_ro_passphrase
trigger:
event:
- pull_request
---
kind: pipeline
type: docker
name: build-master
clone:
disable: true
trigger:
branch:
- master
event:
- push
steps:
- name: clone
image: plugins/git
settings:
recursive: true
tags: true
- name: build
# https://github.com/drGrove/drone-kaniko/tree/v0.7.0
image: drgrove/drone-kaniko@sha256:e3045421c3683e6baf5628b22ea0ee1cd7ae217f4de0e1bc53a0a1a20335b108
depends_on: [ clone ]
settings:
repo: hashbang/book
reproducible: true
username: hashbangbot
password:
from_secret: dockerhub_password
---
kind: signature
hmac: 720d2cca26760af37303f42d5d96f99fc70f56b905dad020b5c1e49a30dbc0ee
...