ci: unify GOFLAGS with dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-08-23 13:36:45 +02:00
parent 26bc3d7d61
commit bcd6f3bf1a
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -97,6 +97,8 @@ steps:
- go vet - go vet
# wait until the site is output into './public'. # wait until the site is output into './public'.
- hugo-extended - hugo-extended
environment:
GOFLAGS: -trimpath -mod=readonly -modcacherw
commands: commands:
- go build -v -ldflags "-s -w -X main.Version=${DRONE_COMMIT}" . - go build -v -ldflags "-s -w -X main.Version=${DRONE_COMMIT}" .