summaryrefslogtreecommitdiffstats
path: root/scripts/docker-compose-sonar.yml
diff options
context:
space:
mode:
authorLuca Muscariello <muscariello@ieee.org>2022-08-12 10:51:40 +0200
committerLuca Muscariello <muscariello@ieee.org>2022-08-12 10:51:40 +0200
commit94884d2a70bd65f9e85018aa154daa3d517d3ca8 (patch)
tree05f260fa0f7989797d0ee70ce14ea095ee770c93 /scripts/docker-compose-sonar.yml
parenta42b58605819b74e2002d67e913b241e4ddb15e1 (diff)
feat: fix sonarcloud build
Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: I569ede7040d0f1e168af87a67e31d494fd11bc77
Diffstat (limited to 'scripts/docker-compose-sonar.yml')
-rw-r--r--scripts/docker-compose-sonar.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/docker-compose-sonar.yml b/scripts/docker-compose-sonar.yml
index 52fceded4..d400d7517 100644
--- a/scripts/docker-compose-sonar.yml
+++ b/scripts/docker-compose-sonar.yml
@@ -6,6 +6,11 @@ services:
dockerfile: scripts/Dockerfile.sonarcloud
container_name: sonarcloud
hostname: sonarcloud
+ environment:
+ API_TOKEN: $API_TOKEN
+ SONAR_HOST_URL: $SONAR_HOST_URL
+ PROJECT_KEY: $PROJECT_KEY
+ PROJECT_ORGANIZATION: $PROJECT_ORGANIZATION
volumes:
- ..:/workspace
command: