-
Notifications
You must be signed in to change notification settings - Fork 87
/
.drone.yml
63 lines (54 loc) · 1.29 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
---
kind: pipeline
name: test
steps:
- name: shellcheck
image: koalaman/shellcheck-alpine:v0.8.0@sha256:7d818fda19f5d8658fbb61b53f106cde88eda4b977b1db916ad9d3ccfa1c3ac6
commands:
- shellcheck shepherd
---
kind: pipeline
name: release
steps:
- name: build & push release
image: thegeeklab/drone-docker-buildx:20.11@sha256:327b6fb15dc841cf80c7c429f60d695efd7c7a476fe363afac25a58befd4c203
settings:
auto_tag: true
repo: mazzolino/shepherd
platforms:
- linux/amd64
- linux/arm64
- linux/armhf
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
event:
exclude:
- pull_request
---
kind: pipeline
name: pr
steps:
- name: build & push PR
image: thegeeklab/drone-docker-buildx:20.11@sha256:327b6fb15dc841cf80c7c429f60d695efd7c7a476fe363afac25a58befd4c203
settings:
repo: mazzolino/shepherd
tags:
- pr-${DRONE_PULL_REQUEST}
platforms:
- linux/amd64
- linux/arm64
- linux/armhf
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
event:
- pull_request
---
kind: signature
hmac: 5d296dd4c63d3f6b8d3ffabf0ba4f2f51d3cfacc6d68dd31388d675132742a0d
...