gitea.nulo.in: Use APK cache

This commit is contained in:
Cat /dev/Nulo 2022-09-09 17:08:02 -03:00
parent 0f8f77bb59
commit 11aacebcf7

View file

@ -8,7 +8,11 @@ pipeline:
build: build:
image: docker.io/alpine:3.16 image: docker.io/alpine:3.16
commands: commands:
- echo "172.17.0.1 alpine.proxy.coso" >> /etc/hosts
- echo "http://alpine.proxy.coso/alpine/v3.16/main" > /etc/apk/repositories
- echo "http://alpine.proxy.coso/alpine/v3.16/community" >> /etc/apk/repositories
- apk add git nodejs npm go make rsync openssh-client-default - apk add git nodejs npm go make rsync openssh-client-default
- GOOS=linux GOARCH=amd64 LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" TAGS="bindata sqlite sqlite_unlock_notify" make build - GOOS=linux GOARCH=amd64 LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" TAGS="bindata sqlite sqlite_unlock_notify" make build
- eval $(ssh-agent -s) - eval $(ssh-agent -s)