mirror of
https://github.com/elyby/chrly.git
synced 2024-11-30 02:32:19 +05:30
Compile without CGO usage
This commit is contained in:
parent
ded50df8b8
commit
2cd97dda8b
@ -27,7 +27,7 @@ jobs:
|
||||
- export DOCKER_TAG="${TRAVIS_TAG:-dev}"
|
||||
- export APP_VERSION="${TRAVIS_TAG:-dev-${TRAVIS_COMMIT:0:7}}"
|
||||
- >
|
||||
env GOOS=linux GOARCH=amd64
|
||||
env CGO_ENABLED=0 GOOS=linux GOARCH=amd64
|
||||
go build
|
||||
-o release/chrly
|
||||
-ldflags '-extldflags "-static" -X github.com/elyby/chrly/bootstrap.version=$APP_VERSION'
|
||||
|
Loading…
Reference in New Issue
Block a user