Skip to content

Commit

Permalink
ci: use setup-trivy to install Trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Oct 9, 2024
1 parent a20de54 commit c4f287b
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/[email protected]
with:
version: ${{ inputs.version }}
cache: ${{ inputs.cache }}

- name: Get current date
id: date
Expand Down

0 comments on commit c4f287b

Please sign in to comment.