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