mirror of
https://github.com/Luzifer/ots.git
synced 2025-04-19 06:55:51 -04:00
Use archliux image to build the binaries
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
aac54add2d
commit
47d570b295
@ -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
|
||||
|
3
Makefile
3
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user