Commit 5d04bd7
fix: clear stale Grype DB cache before weekly security scan
The weekly schedule means the cached grype DB is always >5 days old
(exceeding grype's max allowed age), causing the scan to fail. Clear
the cache dir before each grype run so it always fetches a fresh DB.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b888ed3 commit 5d04bd7
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
| |||
0 commit comments