Skip to content

Commit

Permalink
disable trivy ftm
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Mar 15, 2024
1 parent c890e0e commit d12bd15
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,19 @@ jobs:
tags: 'ci/ruby:${{ github.sha }}'

- name: Check for image
uses: actions/checkout@v4

- id: check-images
run: docker images

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'ci/ruby:${{ github.sha }}'
format: 'sarif'
output: 'trivy-results.sarif'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
# - name: Run Trivy vulnerability scanner
# uses: aquasecurity/trivy-action@master
# with:
# image-ref: 'ci/ruby:${{ github.sha }}'
# format: 'sarif'
# output: 'trivy-results.sarif'

# - name: Upload Trivy scan results to GitHub Security tab
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: 'trivy-results.sarif'

tests:
needs:
Expand Down

0 comments on commit d12bd15

Please sign in to comment.