Add automated building
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2426abab37
commit
d779f25f79
2 changed files with 14 additions and 0 deletions
10
.repo-runner.yaml
Normal file
10
.repo-runner.yaml
Normal 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
|
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue