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

View File

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