Commit af2bdbb
committed
Add report-only Trivy CVE scan to CI
Run aquasecurity/trivy-action against the locally loaded image
between smoke test and push. CRITICAL and HIGH severities only, OS
plus library packages, ignore-unfixed so the report focuses on
actionable findings (CVEs that have a patch available).
Exit-code 0 for now so we get the report into the build log without
blocking the push. Flip to 1 once we've cleared the baseline and want
to gate on regressions.
Refactor: hoist the primary image tag from steps.meta.outputs.tags
into GITHUB_ENV in its own step, so the smoke test and the scan step
share it cleanly.1 parent 3e5331d commit af2bdbb
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
50 | | - | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
64 | 80 | | |
65 | 81 | | |
66 | 82 | | |
| |||
0 commit comments