mirror of
https://github.com/Luzifer/repo-template.git
synced 2024-12-22 12:11:19 +00:00
Add auto-build
This commit is contained in:
parent
6c34fbb730
commit
a54ea96e8b
2 changed files with 13 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/repo-template
|
||||
|
||||
commands:
|
||||
- make publish
|
||||
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
3
Makefile
Normal file
3
Makefile
Normal file
|
@ -0,0 +1,3 @@
|
|||
publish:
|
||||
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
||||
bash golang.sh
|
Loading…
Reference in a new issue