ci: scan image tar directly with trivy instead of referencing by name

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
loks0nandClaude Sonnet 4.6 committed 2026-04-09 16:30:57 +01:00
1 parent 55f1a85661
commit 480699f9c3
1 file changed
+1 -1
+1 -1
View File
@@ -177,7 +177,7 @@ jobs:
- name: Run Trivy vulnerability scanner on image
uses: aquasecurity/trivy-action@0.35.0
with:
image-ref: ${{ env.IMAGE }}
input: /tmp/${{ env.IMAGE }}.tar
format: 'sarif'
output: 'trivy-image-results.sarif'
severity: 'CRITICAL,HIGH'