From 47d570b295e722f3a50d36f6af762731fbbe3757 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 24 Sep 2021 22:13:45 +0200 Subject: [PATCH] Use archliux image to build the binaries Signed-off-by: Knut Ahlers --- .repo-runner.yaml | 7 ++++--- Makefile | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) 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