Push to two tags since --all-tags doesnt work
This commit is contained in:
parent
5e7c672e80
commit
653215885a
@ -26,6 +26,7 @@ build_and_push_container:
|
||||
- while ! nc -z localhost 2375; do sleep 0.1; done # Wait until docker socket is available
|
||||
- docker login -u ldooks -p $DOCKER_ACCESS_TOKEN
|
||||
- docker build -t ldooks/dragon-bot:$CI_PIPELINE_ID -t ldooks/dragon-bot:latest .
|
||||
- docker push ldooks/dragon-bot --all-tags
|
||||
- docker push ldooks/dragon-bot:latest
|
||||
- docker push ldooks/dragon-bot:$CI_PIPELINE_ID
|
||||
only:
|
||||
- master
|
||||
|
Loading…
x
Reference in New Issue
Block a user