CircleCi
This commit is contained in:
parent
4416190bb8
commit
c9a85af74b
1 changed files with 4 additions and 0 deletions
|
@ -20,3 +20,7 @@ deployment:
|
|||
- docker push ${REPO,,}:latest
|
||||
- docker tag ${REPO,,}:latest ${REPO,,}:$CIRCLE_SHA1
|
||||
- docker push ${REPO,,}:$CIRCLE_SHA1
|
||||
- go get github.com/mitchellh/gox
|
||||
- go get github.com/tcnksm/ghr
|
||||
- gox -ldflags "-X main.Version $BUILD_VERSION -X main.BuildDate $BUILD_DATE" -output "dist/$CIRCLE_PROJECT_REPONAME_{{.OS}}_{{.Arch}}"
|
||||
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --prerelease --replace `git describe --tags` dist/
|
||||
|
|
Loading…
Reference in a new issue