1
0
mirror of https://github.com/Luzifer/shareport.git synced 2024-09-16 16:08:24 +00:00

Add auto-building

This commit is contained in:
Knut Ahlers 2019-11-28 22:52:41 +01:00
parent af1df39d9e
commit 866f69e140
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E
2 changed files with 16 additions and 0 deletions

11
.repo-runner.yaml Normal file
View 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
View File

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