Use archliux image to build the binaries

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-09-24 22:13:45 +02:00
parent aac54add2d
commit 47d570b295
No known key found for this signature in database
GPG Key ID: 0066F03ED215AD7D
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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