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
|
- 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}" .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user