Skip to content

Commit

Permalink
docker-image-scan.yml aktualisieren
Browse files Browse the repository at this point in the history
  • Loading branch information
holomekc authored Apr 1, 2024
1 parent 643b6a4 commit f7b7040
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-image-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
- name: Extract latest release
id: extract-release
shell: bash
with:
token: ${{ github.token }}
run: |
#!/bin/bash
gh release view
Expand Down Expand Up @@ -96,7 +94,10 @@ jobs:

- name: Check result
id: trivy-result
shell: bash
run: |
#!/bin/bash
cat trivy-result.json
jq -e 'select((.Results[].Vulnerabilities | length) > 0)' trivy-result.json && code=$? || code=$?
echo "result=${code}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit f7b7040

Please sign in to comment.