Corrects release management in Docker Hub
This commit is contained in:
parent
13b0dd6fc1
commit
b9f55469d2
1 changed files with 2 additions and 2 deletions
|
@ -30,5 +30,5 @@ deployment:
|
||||||
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --prerelease v1.0.alpha.$CIRCLE_BUILD_NUM 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