Migrate CI to travis
- Add travis build file - Use golang alpine image - Clean scripts a little bit - Disable CGO for test-integration >_<
This commit is contained in:
parent
3a08655b06
commit
91b699fbe0
7 changed files with 63 additions and 19 deletions
13
script/deploy.sh
Normal file
13
script/deploy.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
curl -LO https://github.com/tcnksm/ghr/releases/download/pre-release/linux_amd64.zip
|
||||
unzip -q linux_amd64.zip
|
||||
sudo mv grh /usr/bin/ghr
|
||||
sudo chmod +x /usr/bin/ghr
|
||||
|
||||
ghr -t $GITHUB_TOKEN -u emilevauge -r traefik --prerelease ${VERSION} dist/
|
||||
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
||||
docker push ${REPO,,}:latest
|
||||
docker tag ${REPO,,}:latest ${REPO,,}:${VERSION}
|
||||
docker push ${REPO,,}:${VERSION}
|
Loading…
Add table
Add a link
Reference in a new issue