Add auto-building

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-04-12 18:27:14 +02:00
parent 21e1d3404f
commit 789fe58648
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 18 additions and 0 deletions

13
.repo-runner.yaml Normal file
View file

@ -0,0 +1,13 @@
---
image: "reporunner/golang-alpine"
checkout_dir: /go/src/github.com/Luzifer/tinyirc
commands:
- make publish
environment:
DRAFT: "false"
CGO_ENABLED: 0
GO111MODULE: on
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