feat: add version inputs for sonarqube and dependency track
All checks were successful
Docker / Images (push) Successful in 40s

This commit is contained in:
2026-03-20 23:54:33 +01:00
parent ac3613b384
commit 77a5c67b71
2 changed files with 15 additions and 1 deletions

View File

@@ -1,5 +1,10 @@
on:
workflow_call:
inputs:
version:
required: false
type: string
default: ''
secrets:
SONARQUBE_HOST:
required: true
@@ -22,4 +27,7 @@ jobs:
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
with:
args: >
-Dsonar.projectVersion=${{ inputs.version }}