gitea.nulo.in: Use APK cache
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
2b061836ce
commit
6db35c9667
1 changed files with 4 additions and 0 deletions
|
@ -2,7 +2,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)
|
||||||
|
|
Reference in a new issue