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: