Add automated building

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-08-03 18:33:56 +02:00
parent 2426abab37
commit d779f25f79
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 14 additions and 0 deletions

10
.repo-runner.yaml Normal file
View file

@ -0,0 +1,10 @@
---
image: "quay.io/luzifer/repo-runner-image"
checkout_dir: /go/src/github.com/Luzifer/ots
commands:
- make publish
environment:
CGO_ENABLED: 0

View file

@ -1,3 +1,7 @@
generate:
coffee -c frontend/application.coffee
go generate
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh