Skip to content

Commit

Permalink
chore(Codescan): tests newest version of Trivy-Action
Browse files Browse the repository at this point in the history
  • Loading branch information
jekutzsche committed Dec 20, 2021
1 parent 45b4852 commit ceb58c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/bff_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
paths:
- iris-client-bff/**
- .github/workflows/bff_develop.yml
- .github/workflows/publish-test-results.yml@develop
- .github/workflows/trivy-container-scan.yml
pull_request:
branches:
- develop
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/trivy-container-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
image-ref: ${{fromJson(inputs.image-refs)}}

steps:
- name: Checkout code
uses: actions/[email protected]

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.0.22
with:
image-ref: '${{ matrix.image-ref }}'
format: 'template'
Expand Down

0 comments on commit ceb58c0

Please sign in to comment.