-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.drone.yml
55 lines (48 loc) · 1.03 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
---
kind: pipeline
type: docker
name: publish
steps:
- name: github-release
image: golang:1.20.6-alpine3.18
environment:
GITHUB_APP_ID:
from_secret: gh-app-id
GITHUB_APP_INSTALLATION_ID:
from_secret: gh-app-installation-id
GITHUB_APP_PRIVATE_KEY:
from_secret: gh-app-private-key
commands:
- apk add git
- cd /tmp
- git clone https://github.com/magefile/mage
- cd mage
- go run bootstrap.go
- cd /drone/src
- mage gitHub:release $DRONE_TAG
trigger:
event:
include:
- tag
---
name: gh-app-private-key
kind: secret
get:
name: private-key
path: infra/data/ci/detect-angular-dashboards/github-app
---
name: gh-app-installation-id
kind: secret
get:
name: app-installation-id
path: infra/data/ci/detect-angular-dashboards/github-app
---
name: gh-app-id
kind: secret
get:
name: app-id
path: infra/data/ci/detect-angular-dashboards/github-app
---
kind: signature
hmac: 98fbd9fb22bf117038f88ce04cceb49ffd6eb7b34a0d9c467cfd123d6735a547
...