Update build file to push all tags at once instead of doing two pushes

This commit is contained in:
Luke Robles 2022-05-21 18:01:03 -07:00
parent ad851f374b
commit e85b2c279c

View File

@ -38,8 +38,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_IID -t ldooks/dragon-bot:latest .
- docker push ldooks/dragon-bot:latest
- docker push ldooks/dragon-bot:$CI_PIPELINE_IID
- docker push ldooks/dragon-bot --all-tags
rules:
- changes:
- app/**/*