Skip to content
Snippets Groups Projects
Commit 50533788 authored by Bertrand Goareguer's avatar Bertrand Goareguer Committed by Cédric OLIVIER
Browse files

fix: "Add registry name in all Docker images"

parent 41633dae
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ It is bound to the `test` stage, and uses the following variables:
| Name | description | default value |
| ------------------------ | ------------------------------- | ----------------------------- |
| `SONAR_SCANNER_IMAGE` | The Docker image used to run [sonar-scanner](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/) | `sonarsource/sonar-scanner-cli:latest` |
| `SONAR_SCANNER_IMAGE` | The Docker image used to run [sonar-scanner](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/) | `registry.hub.docker.com/sonarsource/sonar-scanner-cli:latest` |
| `SONAR_HOST_URL` | SonarQube server url | _none_ (disabled) |
| `SONAR_PROJECT_KEY` | SonarQube Project Key (might also be set in the `sonar-project.properties` file) | fallbacks to `$CI_PROJECT_PATH_SLUG` (see below) |
| `SONAR_PROJECT_NAME` | SonarQube Project Name (might also be set in the `sonar-project.properties` file) | fallbacks to `$CI_PROJECT_PATH` (see below) |
......
......@@ -7,7 +7,7 @@
{
"name": "SONAR_SCANNER_IMAGE",
"description": "The Docker image used to run [sonar-scanner](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/)",
"default": "sonarsource/sonar-scanner-cli:latest"
"default": "registry.hub.docker.com/sonarsource/sonar-scanner-cli:latest"
},
{
"name": "SONAR_HOST_URL",
......
......@@ -45,7 +45,7 @@ variables:
TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
# Sonar
SONAR_SCANNER_IMAGE: sonarsource/sonar-scanner-cli:latest
SONAR_SCANNER_IMAGE: "registry.hub.docker.com/sonarsource/sonar-scanner-cli:latest"
# Sonar base analysis default args
# see: https://docs.sonarqube.org/latest/analysis/analysis-parameters/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment