1
Fork 0

Change build flags

master
Vladimir Hodakov 2019-03-02 18:55:52 +04:00
parent 5f1a23e8fd
commit ef7610e550
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
1 changed files with 1 additions and 1 deletions

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