Skip to content

Commit

Permalink
Disable trivy image scan
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBA committed Oct 4, 2024
1 parent f2026fd commit 113cf99
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,27 +108,3 @@ jobs:
name: docker-image
path: image.tar
retention-days: 1

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

steps:
- name: Download built image
uses: actions/download-artifact@v4
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@v2
with:
sarif_file: 'trivy-results-docker.sarif'

0 comments on commit 113cf99

Please sign in to comment.