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:
|
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
|
||||||
- docker push ${REPO,,}:$CIRCLE_SHA1
|
- docker push ${REPO,,}:$CIRCLE_SHA1
|
Loading…
Reference in a new issue