-
Notifications
You must be signed in to change notification settings - Fork 15
/
.drone.yml
68 lines (60 loc) · 958 Bytes
/
.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
56
57
58
59
60
61
62
63
64
65
66
67
68
---
kind: pipeline
type: docker
name: default
steps:
- name: check
image: golang:1.18.6
commands:
- make check
volumes:
- name: gopath
path: /go
- name: test
image: golang:1.18.6
commands:
- make test
volumes:
- name: gopath
path: /go
volumes:
- name: gopath
temp: {}
---
kind: pipeline
type: docker
name: GCR release
steps:
- name: Release to GCR
image: plugins/gcr
settings:
repo: qa-setup/go_sdk_wrapper
registry: us.gcr.io
tags:
- latest
- ${DRONE_TAG}
dockerfile: docker/Dockerfile
json_key:
from_secret: ff-gcp
trigger:
ref:
- "refs/tags/*"
---
kind: pipeline
type: docker
name: GCR manual release
steps:
- name: Release to GCR
image: plugins/gcr
settings:
repo: qa-setup/go_sdk_wrapper
registry: us.gcr.io
tags:
- ${DRONE_DEPLOY_TO}
dockerfile: docker/Dockerfile
json_key:
from_secret: ff-gcp
trigger:
event:
- promote
...