From 2161f0939828b413623f0eb5b261011bfda0747d Mon Sep 17 00:00:00 2001 From: Flook Date: Sat, 1 Feb 2025 04:50:13 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=94=E0=B8=AA=E0=B8=AD=E0=B8=9A?= =?UTF-8?q?=20DevSecOps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index a84bc62..0ef3230 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,14 +8,12 @@ steps: environment: SONAR_HOST_URL: from_secret: SCANNER_HOST_URL - SONAR_LOGIN: - from_secret: SCANNER_LOGIN SONAR_TOKEN: from_secret: SCANNER_TOKEN commands: - mkdir -p /tmp/.scannerwork - chmod -R 777 /tmp/.scannerwork - - sonar-scanner -Dsonar.projectKey=gitea_opengis -Dsonar.token=$SONAR_LOGIN -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.working.directory=/tmp/.scannerwork + - sonar-scanner -Dsonar.projectKey=gitea_opengis -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.working.directory=/tmp/.scannerwork - name: Deploy to Server image: curlimages/curl:latest