Skip to content

Commit

Permalink
ci: use setup-trivy to install Trivy (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen authored Oct 9, 2024
1 parent a20de54 commit 0fa0cdb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ runs:
using: 'composite'
steps:
- name: Install Trivy
shell: bash
run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin ${{ inputs.version }}
uses: aquasecurity/setup-trivy@v0.1.0
with:
version: ${{ inputs.version }}
cache: ${{ inputs.cache }}

- name: Get current date
id: date
Expand Down

0 comments on commit 0fa0cdb

Please sign in to comment.