Update .gitea/workflows/release.yml
This commit is contained in:
		| @@ -7,6 +7,27 @@ on: | |||||||
|     - cron: "@weekly" |     - cron: "@weekly" | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|  |   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 | ||||||
|  |  | ||||||
|  |       - name: SonarQube Scan | ||||||
|  |         uses: SonarSource/sonarqube-scan-action@v4.2.1 | ||||||
|  |         env: | ||||||
|  |           SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} | ||||||
|  |           SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }} | ||||||
|  |  | ||||||
|   release: |   release: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user