This commit is contained in:
		| @@ -7,26 +7,26 @@ on: | ||||
|     - cron: "@weekly" | ||||
|  | ||||
| jobs: | ||||
|   sonar: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Check out repository code | ||||
|         uses: actions/checkout@v4.2.2 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|   # sonar: | ||||
|   #   runs-on: ubuntu-latest | ||||
|   #   steps: | ||||
|   #     - name: Check out repository code | ||||
|   #       uses: actions/checkout@v4.2.2 | ||||
|   #       with: | ||||
|   #         fetch-depth: 0 | ||||
|  | ||||
|       - uses: hadolint/hadolint-action@v3.1.0 | ||||
|         with: | ||||
|           dockerfile: Dockerfile | ||||
|           output-file: hadolint.out | ||||
|           format: sonarqube | ||||
|           no-fail: true | ||||
|   #     - uses: hadolint/hadolint-action@v3.1.0 | ||||
|   #       with: | ||||
|   #         dockerfile: Dockerfile | ||||
|   #         output-file: hadolint.out | ||||
|   #         format: sonarqube | ||||
|   #         no-fail: true | ||||
|  | ||||
|       - name: SonarQube Scan | ||||
|         uses: SonarSource/sonarqube-scan-action@v5.2.0 | ||||
|         env: | ||||
|           SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} | ||||
|           SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }} | ||||
|   #     - name: SonarQube Scan | ||||
|   #       uses: SonarSource/sonarqube-scan-action@v5.2.0 | ||||
|   #       env: | ||||
|   #         SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} | ||||
|   #         SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }} | ||||
|  | ||||
|   release: | ||||
|     runs-on: ubuntu-latest | ||||
|   | ||||
		Reference in New Issue
	
	Block a user