diff --git a/.drone.yml b/.drone.yml index fbc180cf..410c9fff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,13 +18,14 @@ steps: # Sonar static code analisis deployment ✔️ - name: code-analysis - image: php:8.0-cli + image: php:8.1-cli environment: SONAR_TOKEN: from_secret: SONAR_TOKEN settings: sources: ./Sources/ commands: + - apt-get update && apt-get install -y curl unzip - export SONAR_SCANNER_VERSION=4.7.0.2747 - export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux - curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip