Skip to content

Commit

Permalink
Disable trivy image scan (#465)
Browse files Browse the repository at this point in the history
see #463
  • Loading branch information
SonnyBA authored Oct 4, 2024
1 parent 5f55721 commit 541682b
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,29 +131,6 @@ jobs:
path: image.tar
retention-days: 1

image_scan:
runs-on: ubuntu-latest
name: Scan docker image
needs:
- docker

steps:
- name: Download built image
uses: actions/download-artifact@v3
with:
name: docker-image
- name: Scan image with Trivy
uses: aquasecurity/trivy-action@master
with:
input: /github/workspace/image.tar # from download-artifact
format: 'sarif'
output: 'trivy-results-docker.sarif'
ignore-unfixed: true
- name: Upload results to GH Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results-docker.sarif'

publish:
needs:
- tests
Expand Down

0 comments on commit 541682b

Please sign in to comment.