From 3a05c01e6b709774b91b8135e03c83e66845bf5e Mon Sep 17 00:00:00 2001 From: "Guillaume \"B.B.\" Van Hemmen" <458819-GuillaumeHemmen@users.noreply.gitlab.com> Date: Sat, 26 Mar 2022 19:30:08 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24cf5e6..31f5698 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,8 @@ docker-tag: script: - docker info - docker login registry.gitlab.com -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD + - docker build -t registry.gitlab.com/guillaumehemmen/sonar-scanner:latest . + - docker push registry.gitlab.com/guillaumehemmen/sonar-scanner:latest - docker build -t registry.gitlab.com/guillaumehemmen/sonar-scanner:$CI_COMMIT_REF_NAME . - docker push registry.gitlab.com/guillaumehemmen/sonar-scanner:$CI_COMMIT_REF_NAME only: