-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
55 lines (52 loc) · 1.24 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
name: default
platform:
os: linux
arch: amd64
steps:
- name: fetch
image: graytshirt/alpine-fetcher
environment:
MINIO_ACCESS_KEY:
from_secret: minio_access_key
MINIO_SECRET_KEY:
from_secret: minio_secret_key
commands:
- export MC_HOST_minio="https://$MINIO_ACCESS_KEY:[email protected]:9000"
- make download
- name: build-pkgs
image: graytshirt/alpine-builder
environment:
APK_KEY:
from_secret: apk_key
APK_KEY_PUB:
from_secret: apk_key_pub
commands:
- make pkgs
- name: upload-pkgs
image: graytshirt/alpine-fetcher
environment:
MINIO_ACCESS_KEY:
from_secret: minio_access_key
MINIO_SECRET_KEY:
from_secret: minio_secret_key
APK_KEY_PUB:
from_secret: apk_key_pub
commands:
- export MC_HOST_minio="https://$MINIO_ACCESS_KEY:[email protected]:9000"
- make upload
- name: build-ami
image: graytshirt/packer
environment:
AWS_ACCESS_KEY_ID:
from_secret: aws_access_key
AWS_SECRET_ACCESS_KEY:
from_secret: aws_secret_access_key
AWS_DEFAULT_REGION: us-east-2
commands:
- make ami
---
kind: signature
hmac: 086c652c14806203955bd48a2173cb8ec87b6efef3b61f6b6a41ca20f662fb03
...