diff --git a/.woodpecker.yml b/.woodpecker.yml index 11e84abef..b1ca4153b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,7 +2,11 @@ pipeline: build: image: docker.io/alpine:3.16 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 + - GOOS=linux GOARCH=amd64 LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" TAGS="bindata sqlite sqlite_unlock_notify" make build - eval $(ssh-agent -s)