Update .gitea/workflows/release.yml
All checks were successful
/ sonar (push) Successful in 1m35s
/ release (push) Successful in 4m29s

This commit is contained in:
Luke Tainton 2025-02-09 20:47:16 +01:00
parent 3d2d21ffd6
commit 3b81fe4236

View File

@ -7,6 +7,27 @@ 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
- 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:
runs-on: ubuntu-latest
steps: