Skip to content

Commit

Permalink
Update parameters for Trivy (#2473)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored Mar 8, 2022
1 parent 1f2e063 commit 96bde3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,7 @@ jobs:
continue-on-error: true
with:
image-ref: nginx/nginx-ingress:${{ steps.meta.outputs.version }}
format: 'template'
template: '@/contrib/sarif.tpl'
format: 'sarif'
output: 'trivy-results-${{ matrix.image }}.sarif'
ignore-unfixed: 'true'
- name: Upload Trivy scan results to GitHub Security tab
Expand Down Expand Up @@ -515,8 +514,7 @@ jobs:
continue-on-error: true
with:
image-ref: docker.io/${{ matrix.image }}:${{ steps.meta.outputs.version }}
format: 'template'
template: '@/contrib/sarif.tpl'
format: 'sarif'
output: 'trivy-results-${{ matrix.image }}.sarif'
ignore-unfixed: 'true'
- name: Upload Trivy scan results to GitHub Security tab
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/update-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,7 @@ jobs:
continue-on-error: true
with:
image-ref: nginx/nginx-ingress:${{ steps.meta.outputs.version }}
format: 'template'
template: '@/contrib/sarif.tpl'
format: 'sarif'
output: 'trivy-results-${{ matrix.image }}.sarif'
ignore-unfixed: 'true'
if: ${{ matrix.needs-updating == 'true' }}
Expand Down

0 comments on commit 96bde3e

Please sign in to comment.