forked from uswitch/kiam
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.drone.yml
More file actions
40 lines (35 loc) · 718 Bytes
/
.drone.yml
File metadata and controls
40 lines (35 loc) · 718 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
workspace:
base: /go
path: src/github.com/uswitch/kiam
pipeline:
test:
image: golang:1.10
commands:
- make test
benchmarks:
image: golang:1.10
commands:
- make bench
build:
image: golang:1.10
commands:
- make build-linux
docker:
when:
event: push
image: plugins/docker
registry: quay.io
repo: quay.io/uswitch/kiam
secrets: [ docker_username, docker_password ]
tags:
- ${DRONE_COMMIT_SHA}
- ${DRONE_COMMIT_BRANCH}
docker-tagged:
when:
event: tag
image: plugins/docker
repo: quay.io/uswitch/kiam
registry: quay.io
secrets: [ docker_username, docker_password ]
tags:
- ${DRONE_TAG}