mirror of
https://github.com/Luzifer/shareport.git
synced 2024-11-08 06:10:06 +00:00
Add auto-building
This commit is contained in:
parent
af1df39d9e
commit
866f69e140
2 changed files with 16 additions and 0 deletions
11
.repo-runner.yaml
Normal file
11
.repo-runner.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
image: "reporunner/golang-alpine"
|
||||||
|
checkout_dir: /go/src/github.com/Luzifer/shareport
|
||||||
|
|
||||||
|
commands:
|
||||||
|
- make publish
|
||||||
|
|
||||||
|
environment:
|
||||||
|
CGO_ENABLED: 0
|
||||||
|
MOD_MODE: readonly
|
5
Makefile
Normal file
5
Makefile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
default:
|
||||||
|
|
||||||
|
publish:
|
||||||
|
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
||||||
|
bash golang.sh
|
Loading…
Reference in a new issue