From 6db40b28af2dbd831848212acf922ddb2fbb1d8c Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 10 Jan 2018 23:34:13 +0100 Subject: [PATCH] Add automated Github publishing Signed-off-by: Knut Ahlers --- .repo-runner.yaml | 10 ++++++++++ Makefile | 3 +++ 2 files changed, 13 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..2aa5003 --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,10 @@ +--- + +image: "quay.io/luzifer/repo-runner-image" +checkout_dir: /go/src/github.com/Luzifer/ansible-role-version + +commands: + - make publish + +environment: + CGO_ENABLED: 0 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9338123 --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +publish: + curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh + bash golang.sh