Push to two tags since --all-tags doesnt work

This commit is contained in:
ein 2022-01-31 21:44:44 -08:00
parent 5e7c672e80
commit 653215885a

View File

@ -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