Commit acd077c
committed
fix(ci): use oci-archive format for trivy scan and cache vulndb
The image was built and saved as an OCI archive (via buildah push
oci-archive:...) but trivy was invoked with --input which only
accepts Docker-format tars. Switch to the oci-archive: image
reference so trivy correctly parses the OCI layout.
Also add a GitHub Actions cache step for ~/.cache/trivy so the
85 MiB vulnerability DB is not re-downloaded on every release run.
https://claude.ai/code/session_01FovhL9GqcEehmbUDtPyt5Z1 parent 6489460 commit acd077c
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
108 | 116 | | |
109 | | - | |
110 | 117 | | |
111 | | - | |
| 118 | + | |
| 119 | + | |
112 | 120 | | |
113 | 121 | | |
114 | 122 | | |
| |||
0 commit comments