chore: compile without nosql's support for Postgres and MySQL (#6655)

* chore: compile without nosql's support for Postgres and MySQL

* Update cross-build.yml

* Update cross-build.yml

* Update README.md
This commit is contained in:
Kévin Dunglas
2024-10-22 22:53:14 +02:00
committed by GitHub
parent 4457afc170
commit eaaa2e5872
3 changed files with 4 additions and 2 deletions

View File

@@ -70,4 +70,4 @@ jobs:
continue-on-error: true
working-directory: ./cmd/caddy
run: |
GOOS=$GOOS GOARCH=$GOARCH go build -tags nobadger -trimpath -o caddy-"$GOOS"-$GOARCH 2> /dev/null
GOOS=$GOOS GOARCH=$GOARCH go build -tags=nobadger,nomysql,nopgx -trimpath -o caddy-"$GOOS"-$GOARCH 2> /dev/null