mirror of
https://github.com/elyby/chrly.git
synced 2024-12-02 03:30:54 +05:30
Build chrly statically to work with Alpine image
This commit is contained in:
parent
d7bc77e5a7
commit
ded50df8b8
@ -30,7 +30,7 @@ jobs:
|
||||
env GOOS=linux GOARCH=amd64
|
||||
go build
|
||||
-o release/chrly
|
||||
-ldflags "-X github.com/elyby/chrly/bootstrap.version=$APP_VERSION"
|
||||
-ldflags '-extldflags "-static" -X github.com/elyby/chrly/bootstrap.version=$APP_VERSION'
|
||||
main.go
|
||||
- docker build -t elyby/chrly:$DOCKER_TAG .
|
||||
- docker push elyby/chrly:$DOCKER_TAG
|
||||
|
Loading…
Reference in New Issue
Block a user