We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e1e376 commit c82f9c2Copy full SHA for c82f9c2
1 file changed
.github/workflows/sdk.yaml
@@ -186,10 +186,18 @@ jobs:
186
while IFS= read -r image; do
187
[ -z "$image" ] && continue
188
echo "Scanning $image"
189
- trivy image \
190
- --scanners vuln \
191
- --severity HIGH,CRITICAL \
192
- --ignore-unfixed \
193
- --exit-code 1 \
194
- "$image"
+ {
+ echo "<details><summary><strong>Trivy image scan : ${{ matrix.target }} </strong></summary><pre lang="shell"><code>"
+
+ trivy image \
+ --scanners vuln \
+ --format table \
195
+ --report summary \
196
+ --severity HIGH,CRITICAL \
197
+ --ignore-unfixed \
198
+ --exit-code 1 \
199
+ "$image"
200
201
+ echo "</code></pre></details><hr>"
202
+ } >> $GITHUB_STEP_SUMMARY
203
done <<< "${{ steps.images.outputs.images }}"
0 commit comments