From cf4d7f74b8e7610eabfcdaf69d164ad275c39dba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jon=20Lopez=20de=20Guere=C3=B1a?=
 <jon.lopezdeguerena@tecnalia.com>
Date: Wed, 6 Jul 2022 13:31:12 +0200
Subject: [PATCH] sonar maven

---
 sonarqube/sonarqube-maven.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sonarqube/sonarqube-maven.yml b/sonarqube/sonarqube-maven.yml
index a311911..391019a 100644
--- a/sonarqube/sonarqube-maven.yml
+++ b/sonarqube/sonarqube-maven.yml
@@ -1,6 +1,8 @@
 sonarqube-check:
   stage: .pre
-  image: maven:3.6.3-jdk-11
+  image: $ACR_URL/maven:3.6.3-jdk-11
+  tags:
+    - docker
   variables:
     SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar"  # Defines the location of the analysis task cache
     GIT_DEPTH: "0"  # Tells git to fetch all the branches of the project, required by the analysis task
-- 
GitLab