bajar tar.gz en vez de clonar

This commit is contained in:
Cat /dev/Nulo 2023-02-18 10:51:51 -03:00
parent a60f4cd28d
commit 315dad5203

View file

@ -8,7 +8,7 @@ runprint() {
runprint apk add --quiet git nodejs npm go make runprint apk add --quiet git nodejs npm go make
# TODO: cachear clon de repo # TODO: cachear clon de repo
runprint git clone https://codeberg.org/forgejo/forgejo --branch 8e8037a64d --depth 1 --single-branch wget -qO- https://codeberg.org/forgejo/forgejo/archive/8e8037a64d76af498e4b3d2d5a44ec48fcc79afe.tar.gz | tar zx
cd forgejo cd forgejo
runprint env GOOS=linux GOARCH=amd64 LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" TAGS="bindata sqlite sqlite_unlock_notify" make build runprint env GOOS=linux GOARCH=amd64 LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" TAGS="bindata sqlite sqlite_unlock_notify" make build