From c6390ced0445bfe3dd5923981a493d7a027561c5 Mon Sep 17 00:00:00 2001 From: sbriat Date: Tue, 4 Apr 2023 12:43:27 +0200 Subject: [PATCH] fix gitlab docker tag --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 176ccdf..1c75f7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,7 +45,9 @@ build: docker build --pull --cache-from $CI_REGISTRY_IMAGE:latest - --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:$VERSION $CI_REGISTRY_IMAGE:latest + --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA + --tag $CI_REGISTRY_IMAGE:$VERSION + --tag $CI_REGISTRY_IMAGE:latest . - docker push $CI_REGISTRY_IMAGE:latest only: