Merge pull request #49 from EmileVauge/emilevauge-ghr-corrections
Corrects release management with build number in tags
This commit is contained in:
commit
9d168c4e15
1 changed files with 3 additions and 3 deletions
|
@ -27,8 +27,8 @@ deployment:
|
||||||
hub:
|
hub:
|
||||||
branch: master
|
branch: master
|
||||||
commands:
|
commands:
|
||||||
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace --prerelease v1.0 dist/
|
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --prerelease v1.0.alpha.$CIRCLE_BUILD_NUM dist/
|
||||||
- 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,,}:v1.0.alpha.$CIRCLE_BUILD_NUM
|
||||||
- docker push ${REPO,,}:$CIRCLE_SHA1
|
- docker push ${REPO,,}:v1.0.alpha.$CIRCLE_BUILD_NUM
|
||||||
|
|
Loading…
Reference in a new issue