1

Change build flags

This commit is contained in:
Vladimir Hodakov 2019-03-02 18:55:52 +04:00
parent 5f1a23e8fd
commit ef7610e550
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6

View File

@ -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