circle ci ghr
This commit is contained in:
parent
fc802c52bf
commit
1a28826beb
1 changed files with 2 additions and 5 deletions
|
@ -20,11 +20,8 @@ deployment:
|
|||
github:
|
||||
branch: master
|
||||
commands:
|
||||
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --prerelease --replace `git describe --tags --abbrev=0` dist/
|
||||
dockerhub:
|
||||
branch: master
|
||||
commands:
|
||||
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace --prerelease --debug pre-release dist/
|
||||
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
||||
- docker push ${REPO,,}:latest
|
||||
- docker tag ${REPO,,}:latest ${REPO,,}:$CIRCLE_SHA1
|
||||
- docker push ${REPO,,}:$CIRCLE_SHA1
|
||||
- docker push ${REPO,,}:$CIRCLE_SHA1
|
Loading…
Reference in a new issue