Konfi-Castle-Kasino/.drone.yml

31 lines
563 B
YAML

workspace:
base: /srv/app
path: src/git.mowie.cc/konrad/Konfi-Castle-Kasino
pipeline:
clone:
image: plugins/git
depth: 50
tags: true
build:
image: webhippie/golang:edge
pull: true
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
commands:
- make build
when:
event: [ push, tag, pull_request ]
static:
image: karalabe/xgo-latest:latest
pull: true
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
commands:
- make release
when:
event: [ push, tag ]