diff --git a/build-sonarscanner.jenkins b/build-sonarscanner.jenkins index 5e92192..72cf464 100644 --- a/build-sonarscanner.jenkins +++ b/build-sonarscanner.jenkins @@ -46,7 +46,7 @@ spec: stage("Kaniko Build & Push") { container ("kaniko") { def dockerfile = """ -FROM ${registry}/dockerhub/sonarsource/sonar-scanner-cli:latest +FROM ${repository}/dockerhub/sonarsource/sonar-scanner-cli:latest USER root