Change build flags
This commit is contained in:
parent
5f1a23e8fd
commit
ef7610e550
@ -27,7 +27,7 @@ build:
|
||||
stage: build
|
||||
script:
|
||||
- pwd
|
||||
- CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -tags netgo
|
||||
- CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags '-w -extldflags "-static"'
|
||||
artifacts:
|
||||
untracked: true
|
||||
expire_in: 4 hours
|
||||
|
Reference in New Issue
Block a user