-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.drone.yml
More file actions
46 lines (41 loc) · 782 Bytes
/
.drone.yml
File metadata and controls
46 lines (41 loc) · 782 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
kind: pipeline
type: exec
name: linux-amd64
platform:
arch: amd64
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
---
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