File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
versioned_docs/version-v0.11.x Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ for platform in $PLATFORMS; do
4646 arch=$( echo $platform | cut -d' /' -f2 | sed ' s/\//-/g' )
4747 echo " Scanning $platform ..."
4848 trivy image --vuln-type os --scanners vuln --ignore-unfixed \
49- -f json -o reports/${arch} .json --platform $platform $IMAGE || \
49+ -f json -o reports/${arch} .json --image-src remote -- platform $platform $IMAGE || \
5050 echo " Warning: Failed to scan $platform "
5151done
5252
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ for platform in $PLATFORMS; do
4646 arch=$( echo $platform | cut -d' /' -f2 | sed ' s/\//-/g' )
4747 echo " Scanning $platform ..."
4848 trivy image --vuln-type os --scanners vuln --ignore-unfixed \
49- -f json -o reports/${arch} .json --platform $platform $IMAGE || \
49+ -f json -o reports/${arch} .json --image-src remote -- platform $platform $IMAGE || \
5050 echo " Warning: Failed to scan $platform "
5151done
5252
You can’t perform that action at this time.
0 commit comments