ci: unify GOFLAGS with dockerfile
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
26bc3d7d61
commit
bcd6f3bf1a
@ -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}" .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user