-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.drone.yml
More file actions
53 lines (47 loc) · 804 Bytes
/
.drone.yml
File metadata and controls
53 lines (47 loc) · 804 Bytes
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
---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
trigger:
branch:
- main
steps:
- name: build_image_PR
image: plugins/docker
settings:
dry_run: true
repo: rustycl0ck/drone-pr-comment
when:
event:
- pull_request
- name: test
image: golang
settings:
app_id:
from_secret: test_app_id
rsa_key:
from_secret: test_rsa_key
commands:
- make test
when:
event:
- pull_request
- name: build_image
image: plugins/docker
settings:
auto_tag: true
repo: rustycl0ck/drone-pr-comment
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
event:
- tag
- push
---
kind: signature
hmac: 06ad83d4f3010b6a4233dbc5777883d49248afe488d7cf9711fc55ae8b2c7173
...