From 68414b21fb57c06e8b03c1efba06b570a8cea5be Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Sun, 18 Jul 2021 20:11:46 +0200 Subject: fix: Fix docker tag Pushing `:latest` to the restistry. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 290ef19..795dbfb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ docker-build-master: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: - docker build --pull -t "$CI_REGISTRY_IMAGE" -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA" . - - docker push "$CI_REGISTRY_IMAGE":latest + - docker push "$CI_REGISTRY_IMAGE" - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA" only: - master -- cgit v1.2.3