From 653215885abca207278b6cff05fc1e037a0857d0 Mon Sep 17 00:00:00 2001 From: ein Date: Mon, 31 Jan 2022 21:44:44 -0800 Subject: [PATCH] Push to two tags since --all-tags doesnt work --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37dab41f..fdd042a7 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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