File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,14 +135,16 @@ jobs:
135135 ${{ env.REGISTRY }}/${{ steps.image.outputs.name }}:ci-${{ github.sha }} \
136136 Rscript tests/build_test.R
137137
138- # Optional (but common): scan the image before release
138+ # Optional (but common): scan the image before release.
139+ # Scan only library vulns; OS/kernel vulns from the base image (rocker/rstudio → Ubuntu) are
140+ # outside our control and would otherwise fail CI (e.g. kernel 5.15 CVEs).
139141 - name : Trivy scan (fail on HIGH/CRITICAL)
140142 uses : aquasecurity/trivy-action@0.28.0
141143 with :
142144 image-ref : ${{ env.REGISTRY }}/${{ steps.image.outputs.name }}:ci-${{ github.sha }}
143145 format : table
144146 ignore-unfixed : true
145- vuln-type : os, library
147+ vuln-type : library
146148 severity : HIGH,CRITICAL
147149 exit-code : " 1"
148150
You can’t perform that action at this time.
0 commit comments