feat: add version inputs for sonarqube and dependency track
All checks were successful
Docker / Images (push) Successful in 40s
All checks were successful
Docker / Images (push) Successful in 40s
This commit is contained in:
6
.github/workflows/trivy_fs.yaml
vendored
6
.github/workflows/trivy_fs.yaml
vendored
@@ -1,5 +1,10 @@
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
version:
|
||||
required: false
|
||||
type: string
|
||||
default: ''
|
||||
secrets:
|
||||
DEPENDENCYTRACK_URL:
|
||||
required: true
|
||||
@@ -41,6 +46,7 @@ jobs:
|
||||
-H "X-Api-Key: ${{ secrets.DEPENDENCYTRACK_API_KEY }}" \
|
||||
-H "Content-Type: multipart/form-data" \
|
||||
-F "project=${{ secrets.DEPENDENCYTRACK_PROJECT_UUID }}" \
|
||||
-F "projectVersion=${{ inputs.version }}" \
|
||||
-F "bom=@sbom.json")
|
||||
|
||||
echo "Response: $(cat /tmp/dt-response.json)"
|
||||
|
||||
Reference in New Issue
Block a user