]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-23139 Recommend to use a locked major version of the Docker image
authorJulien HENRY <julien.henry@sonarsource.com>
Tue, 24 Sep 2024 16:37:46 +0000 (18:37 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 26 Sep 2024 20:03:16 +0000 (20:03 +0000)
Co-authored-by: Benjamin Raymond <31401273+7PH@users.noreply.github.com>
server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap
server/sonar-web/src/main/js/components/tutorials/gitlabci/commands/PipeCommand.tsx

index 4097c7460d00cd2167b08406f06d2928201bbaf2..607a8fbc50ba274f7777bcdbafa5d162280617d5 100644 (file)
@@ -369,7 +369,7 @@ exports[`should follow and complete all steps: Maven: pom.xml 1`] = `
 
 exports[`should follow and complete all steps: Other: gitlab-ci.yml 1`] = `
 "image: 
-    name: sonarsource/sonar-scanner-cli:latest
+    name: sonarsource/sonar-scanner-cli:11
     entrypoint: [""]
 
 variables:
index e9f208a71612c0c3234715fed81fcb09a2126541..161620d17e81c2371cadce45b39fe2be512e1aca 100644 (file)
@@ -85,7 +85,7 @@ const BUILD_TOOL_SPECIFIC: {
   },
   [BuildTools.Other]: {
     image: `
-    name: sonarsource/sonar-scanner-cli:latest
+    name: sonarsource/sonar-scanner-cli:11
     entrypoint: [""]`,
     script: () => `
     - sonar-scanner -Dsonar.host.url="\${SONAR_HOST_URL}"`,