diff --git a/.repo-runner.yaml b/.repo-runner.yaml new file mode 100644 index 0000000..f5a1c90 --- /dev/null +++ b/.repo-runner.yaml @@ -0,0 +1,10 @@ +--- + +image: "quay.io/luzifer/repo-runner-image" +checkout_dir: /go/src/github.com/Luzifer/ots + +commands: + - make publish + +environment: + CGO_ENABLED: 0 diff --git a/Makefile b/Makefile index 61babb3..8d57e90 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ generate: coffee -c frontend/application.coffee go generate + +publish: + curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh + bash golang.sh