From 866f69e140e718bbd20ff4a6436f5cb3aa33d668 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 28 Nov 2019 22:52:41 +0100 Subject: [PATCH] Add auto-building --- .repo-runner.yaml | 11 +++++++++++ Makefile | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 .repo-runner.yaml create mode 100644 Makefile diff --git a/.repo-runner.yaml b/.repo-runner.yaml new file mode 100644 index 0000000..6c89c5b --- /dev/null +++ b/.repo-runner.yaml @@ -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 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cab2698 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +default: + +publish: + curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh + bash golang.sh