-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.drone.yml
More file actions
61 lines (55 loc) · 1.03 KB
/
.drone.yml
File metadata and controls
61 lines (55 loc) · 1.03 KB
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
kind: pipeline
type: exec
name: linux-amd64
platform:
arch: amd64
os: linux
steps:
- name: check
commands:
- docker run --rm
-e GITHUB_TOKEN=$GITHUB_TOKEN
-v "$(pwd):$(pwd)"
-w "$(pwd)"
drycc/python-dev
python scripts/checker.py
environment:
GITHUB_TOKEN:
from_secret: github_token
when:
event:
- cron
- name: publish
commands:
- CODENAME=bullseye ./build.sh all ${DRONE_TAG}
environment:
OSS_ENDPOINT:
from_secret: oss_endpoint
OSS_ACCESS_KEY_ID:
from_secret: oss_access_key_id
OSS_ACCESS_KEY_SECRET:
from_secret: oss_access_key_secret
when:
event:
- tag
---
kind: pipeline
type: exec
name: linux-arm64
platform:
arch: arm64
os: linux
steps:
- name: publish
commands:
- CODENAME=bullseye ./build.sh all ${DRONE_TAG}
environment:
OSS_ENDPOINT:
from_secret: oss_endpoint
OSS_ACCESS_KEY_ID:
from_secret: oss_access_key_id
OSS_ACCESS_KEY_SECRET:
from_secret: oss_access_key_secret
when:
event:
- tag