diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3f8447cae1d78526833cc09719d8f6249e8eb102..dc05f23df478585e4bdec626af5d7a326f6395eb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@ stages:
 
 tests:
   stage: unittest
-  image: "python:3.8-slim"
+  image: python:3.8-slim
   before_script:
     - apt-get update
     - apt-get install -y build-essential
@@ -32,9 +32,7 @@ tests:
 
 sonarqube-check:
   stage: quality
-  image:
-    name: sonarsource/sonar-scanner-cli:latest
-    entrypoint: [ "" ]
+  image: sonarsource/sonar-scanner-cli:latest
   variables:
     SONAR_TOKEN: a03f52695660de4b8aa274d2904df75da9d47933
     SONAR_HOST_URL: http://192.168.1.58:9000/ # You have to not use localhost otherwise it will not work