Change build flags
parent
5f1a23e8fd
commit
ef7610e550
|
@ -27,7 +27,7 @@ build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- pwd
|
- 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:
|
artifacts:
|
||||||
untracked: true
|
untracked: true
|
||||||
expire_in: 4 hours
|
expire_in: 4 hours
|
||||||
|
|
Reference in New Issue