Only attempt to docker build when version tag is rolled.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0af0f25be4
commit
edc6f08b8b
31
.drone.yml
31
.drone.yml
|
@ -1,6 +1,6 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: linux-amd64
|
name: linux-amd64-taggedver
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
@ -32,3 +32,32 @@ steps:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
ref:
|
||||||
|
- refs/tags/v*
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: linux-amd64-devel-master
|
||||||
|
|
||||||
|
platform:
|
||||||
|
arch: amd64
|
||||||
|
os: linux
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- pwd
|
||||||
|
- mkdir -p /go/src/git.martyn.berlin/martyn
|
||||||
|
- ln -s /drone/src /go/src/git.martyn.berlin/martyn/karaokards
|
||||||
|
- cd /go/src/git.martyn.berlin/martyn/karaokards
|
||||||
|
- go get
|
||||||
|
- go build
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
ref:
|
||||||
|
- refs/heads/devel
|
||||||
|
- refs/heads/master
|
Loading…
Reference in New Issue