circle ci ghr

This commit is contained in:
emile 2015-09-15 00:17:44 +02:00
parent fc802c52bf
commit 1a28826beb

View file

@ -20,10 +20,7 @@ deployment:
github: github:
branch: master branch: master
commands: commands:
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --prerelease --replace `git describe --tags --abbrev=0` dist/ - ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace --prerelease --debug pre-release dist/
dockerhub:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push ${REPO,,}:latest - docker push ${REPO,,}:latest
- docker tag ${REPO,,}:latest ${REPO,,}:$CIRCLE_SHA1 - docker tag ${REPO,,}:latest ${REPO,,}:$CIRCLE_SHA1