1
0
Fork 0
mirror of https://github.com/Luzifer/repo-template.git synced 2024-12-22 20:21:19 +00:00

Add auto-build

This commit is contained in:
Knut Ahlers 2018-02-07 10:06:24 +01:00
parent 6c34fbb730
commit a54ea96e8b
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 13 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/repo-template
commands:
- make publish
environment:
CGO_ENABLED: 0

3
Makefile Normal file
View file

@ -0,0 +1,3 @@
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh