From 40f4061424c20f0c8411477f0d726a59b013c6c5 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 26 Jun 2017 15:12:36 +0200 Subject: [PATCH] Add automated building Signed-off-by: Knut Ahlers --- .repo-runner.yaml | 10 ++++++++++ Makefile | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 .repo-runner.yaml diff --git a/.repo-runner.yaml b/.repo-runner.yaml new file mode 100644 index 0000000..92ca95b --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,10 @@ +--- + +image: "quay.io/luzifer/repo-runner-image" +checkout_dir: /go/src/github.com/Luzifer/promcertcheck + +commands: + - make publish + +environment: + CGO_ENABLED: 0 diff --git a/Makefile b/Makefile index 36aaf9b..a656573 100644 --- a/Makefile +++ b/Makefile @@ -14,3 +14,7 @@ test: container: docker build -t luzifer/promcertcheck . + +publish: + curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh + bash golang.sh