Docker-10 document locales and remove ANSI locale to use the one from the parent image

This commit is contained in:
Tobias Trabelsi
2021-09-24 08:03:04 +02:00
committed by GitHub
parent 495aa71ae8
commit 1f3c95ed10
2 changed files with 11 additions and 3 deletions

View File

@@ -52,6 +52,17 @@ jobs:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
```
If your source code file names contain special characters that are not covered by the locale range of `en_US.UTF-8`, you can configure your desired locale like this:
```yaml
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
LC_ALL: "ru_RU.UTF-8"
```
You can change the analysis base directory by using the optional input `projectBaseDir` like this:
```yaml