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