diff --git a/README.md b/README.md index 9001b14314e530b2c424bef295a249ac125295e2..e05b9292d9e316aeb844a1318720542919e447aa 100644 --- a/README.md +++ b/README.md @@ -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) | diff --git a/kicker.json b/kicker.json index ec0a720b05617a01591b182d31619f8c84f50005..74610538a5e330698e3f548ef095424d0e92efde 100644 --- a/kicker.json +++ b/kicker.json @@ -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", diff --git a/templates/gitlab-ci-sonar.yml b/templates/gitlab-ci-sonar.yml index 73fcc891a4d3244a9e08885c86770a455bf02173..6849d4d3f8884d1351e1ee8c4352827977f4032c 100644 --- a/templates/gitlab-ci-sonar.yml +++ b/templates/gitlab-ci-sonar.yml @@ -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/