feat: 🚸 add tag image
Added image for specific tag too
This commit is contained in:
parent
c87350251d
commit
52923e9fd8
1 changed files with 9 additions and 2 deletions
|
@ -39,6 +39,13 @@ docker:
|
|||
- apk add tar
|
||||
- tar -xzvf build-artifacts.tar.gz
|
||||
- echo $DOCKERHUB_TOKEN | docker login --username $DOCKERHUB_USERNAME --password-stdin
|
||||
# Tag name
|
||||
- docker build -t zyner/xyter:$CI_COMMIT_TAG .
|
||||
- docker push zyner/xyter:$CI_COMMIT_TAG
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- docker build -t $CI_REGISTRY/zyner/xyter/bot:$CI_COMMIT_TAG .
|
||||
- docker push $CI_REGISTRY/zyner/xyter/bot:$CI_COMMIT_TAG
|
||||
# Latest
|
||||
- docker build -t zyner/xyter:latest .
|
||||
- docker push zyner/xyter:latest
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
|
|
Loading…
Add table
Reference in a new issue