Skip to content

Commit

Permalink
fixup! feat: feat: add trivy vulnerability check
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelaepure10 committed Jun 10, 2024
1 parent dcda401 commit 8220cf0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,14 @@ jobs:
sudo apt-get install -y trivy
trivy --version
- name: Extract the archive file
run: |
mkdir -p extracted
tar -xzf build/target/hale-studio-*linux*.tar.gz -C extracted
- name: Run Trivy scan
run: |
trivy fs --severity CRITICAL,HIGH build/target/hale-studio-*linux*.tar.gz --format sarif --output trivy-results.sarif
trivy fs --severity CRITICAL,HIGH build/target/hale-studio-*linux* --format sarif --output trivy-results.sarif
- name: Upload Trivy scan results to file
Expand Down

0 comments on commit 8220cf0

Please sign in to comment.