We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 382f430 commit 5b09357Copy full SHA for 5b09357
1 file changed
.github/workflows/docker-security-scan.yml
@@ -106,11 +106,15 @@ jobs:
106
exit-code: "1"
107
scanners: "vuln" # Focus on CVEs, not secrets
108
109
+ - name: Sanitize image name for artifact
110
+ id: sanitize
111
+ run: echo "name=$(echo '${{ matrix.image }}' | tr '/:' '-')" >> $GITHUB_OUTPUT
112
+
113
- name: Upload SARIF artifact
114
uses: actions/upload-artifact@v4
115
if: always()
116
with:
- name: sarif-third-party-${{ matrix.image }}
117
+ name: sarif-third-party-${{ steps.sanitize.outputs.name }}
118
path: "trivy-results.sarif"
119
retention-days: 30
120
0 commit comments