forked from rancher/helm-unittest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
43 lines (40 loc) · 805 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
kind: pipeline
name: amd64
platform:
os: linux
arch: amd64
workspace:
base: /go
path: src/github.com/lrills/helm-unittest/
steps:
- name: build
image: golang:1.12
volumes:
- name: docker
path: /var/run/docker.sock
commands:
- mkdir /go/bin
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- dep ensure
- make dist
- name: github_binary_release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
files:
- _dist/*
checksum:
- sha256
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag
volumes:
- name: docker
host:
path: /var/run/docker.sock