From d7f9bf58743bc00f7ce46e250ccb602620238cd9 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 28 Jan 2018 15:53:34 +0100 Subject: [PATCH] Add automatic build Signed-off-by: Knut Ahlers --- .gitignore | 2 ++ .repo-runner.yaml | 10 ++++++++++ Makefile | 3 +++ 3 files changed, 15 insertions(+) create mode 100644 .gitignore create mode 100644 .repo-runner.yaml create mode 100644 Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..457ba82 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +nginx-sso +test.yaml diff --git a/.repo-runner.yaml b/.repo-runner.yaml new file mode 100644 index 0000000..da4fd72 --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,10 @@ +--- + +image: "quay.io/luzifer/repo-runner-image" +checkout_dir: /go/src/github.com/Luzifer/nginx-sso + +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