Skip to content

Commit de4015b

Browse files
committed
Added artifact upload
1 parent 60feffe commit de4015b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/action_publish-images-security-updates.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ jobs:
3535
ignore-unfixed: true
3636
severity: 'CRITICAL,HIGH'
3737
hide-progress: true
38+
39+
- name: Upload trivy report as a Github artifact
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: trivy-sbom-report
43+
path: '${{ github.workspace }}/dependency-results.sbom.json'
44+
retention-days: 20
3845

3946
# Parse results to set has_vulnerabilities (for workflow control)
4047
- if: inputs.skip_scan != true

0 commit comments

Comments
 (0)