12 lines
252 B
Bash
Executable File
12 lines
252 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
source ~/dev-platform/.env
|
|
|
|
docker run --rm \
|
|
--network dev-platform_default \
|
|
-e SONAR_HOST_URL="https://sonarqube.mota-thomas.com" \
|
|
-e SONAR_TOKEN="${SONAR_TOKEN}" \
|
|
-v "$(pwd):/usr/src" \
|
|
sonarsource/sonar-scanner-cli
|