Skip to content

Commit

Permalink
Update updates.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: John Osborne <[email protected]>
  • Loading branch information
johnfosborneiii authored Nov 21, 2024
1 parent dbe70c6 commit 733bfd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ jobs:
if: env.FIX_CVE == 'true'
run: |
grype $NEW_IMAGE -o sarif > grype-results.sarif
cat grype-results.sarif
SARIF_SUMMARY=$(cat grype-results.sarif | jq '.runs[0].tool.driver.rules | map({id: .id, severity: .properties.severity})')
grype $NEW_IMAGE 2>&1 | tee summary.out
SARIF_SUMMARY=$(cat summary.out)
echo "SARIF_SUMMARY=${SARIF_SUMMARY}" >> $GITHUB_ENV
- name: Upload SARIF results
Expand Down

0 comments on commit 733bfd9

Please sign in to comment.