ci: use setup-trivy to install Trivy (#406)

This commit is contained in:
DmitriyLewen
2024-10-10 03:36:41 +06:00
committed by GitHub
parent a20de5420d
commit 0fa0cdb177
+4 -2
View File
@@ -108,8 +108,10 @@ runs:
using: 'composite' using: 'composite'
steps: steps:
- name: Install Trivy - name: Install Trivy
shell: bash uses: aquasecurity/setup-trivy@v0.1.0
run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin ${{ inputs.version }} with:
version: ${{ inputs.version }}
cache: ${{ inputs.cache }}
- name: Get current date - name: Get current date
id: date id: date