diff --git a/.repo-runner.yaml b/.repo-runner.yaml index 2c70cf3..d90ebcb 100644 --- a/.repo-runner.yaml +++ b/.repo-runner.yaml @@ -1,13 +1,14 @@ --- -image: "reporunner/golang-alpine" +image: "reporunner/archlinux" checkout_dir: /go/src/github.com/Luzifer/ots commands: # Dependencies for downloading libraries - - apk add --update curl git make tar unzip + - pacman -Syy --noconfirm awk curl git go make nodejs-lts-fermium npm tar unzip which zip - make publish environment: - DRAFT: "false" CGO_ENABLED: 0 + DRAFT: "false" + GOPATH: /go diff --git a/Makefile b/Makefile index b71ef9a..2c90dd1 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,8 @@ generate-inner: npx npm@lts run build chown -R $(shell id -u) ../frontend node_modules -publish: generate download_libs +publish: download_libs + $(MAKE) -C src -f ../Makefile generate-inner curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh bash golang.sh