Skip to content

Commit

Permalink
Refactor image scanning steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ffurrer2 committed Jul 25, 2024
1 parent d9ac1ba commit aa23a6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ jobs:

- name: Run Trivy vulnerability scanner (distroless)
uses: aquasecurity/trivy-action@master
continue-on-error: true
with:
image-ref: 'ghcr.io/ffurrer2/semver:latest'
exit-code: '1'
Expand All @@ -140,10 +141,10 @@ jobs:
with:
sarif_file: 'trivy-results-distroless.sarif'
category: trivy-results-distroless
if: always()

- name: Run Anchore image scanner (distroless)
uses: anchore/scan-action@v3
continue-on-error: true
id: anchore-distroless
with:
image: 'ghcr.io/ffurrer2/semver:latest'
Expand All @@ -159,4 +160,3 @@ jobs:
with:
sarif_file: ${{ steps.anchore-distroless.outputs.sarif }}
category: anchore-results-distroless
if: always()

0 comments on commit aa23a6a

Please sign in to comment.