mirror of
https://github.com/elyby/chrly.git
synced 2025-01-10 22:02:04 +05:30
Merge branch 'master' into ely
This commit is contained in:
commit
7734f2cbd5
@ -27,10 +27,10 @@ jobs:
|
|||||||
- export DOCKER_TAG="${TRAVIS_TAG:-dev}"
|
- export DOCKER_TAG="${TRAVIS_TAG:-dev}"
|
||||||
- export APP_VERSION="${TRAVIS_TAG:-dev-${TRAVIS_COMMIT:0:7}}"
|
- 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
|
go build
|
||||||
-o release/chrly
|
-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
|
main.go
|
||||||
- docker build -t elyby/chrly:$DOCKER_TAG .
|
- docker build -t elyby/chrly:$DOCKER_TAG .
|
||||||
- docker push elyby/chrly:$DOCKER_TAG
|
- docker push elyby/chrly:$DOCKER_TAG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user