Docker-10 document locales and remove ANSI locale to use the one from the parent image
This commit is contained in:
parent
495aa71ae8
commit
1f3c95ed10
|
@ -9,9 +9,6 @@ LABEL version="1.0.0" \
|
|||
com.github.actions.icon="check" \
|
||||
com.github.actions.color="green"
|
||||
|
||||
# Set up local envs in order to allow for special chars (non-asci) in filenames.
|
||||
ENV LC_ALL="C.UTF-8"
|
||||
|
||||
# https://help.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user
|
||||
USER root
|
||||
|
||||
|
|
11
README.md
11
README.md
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue