Skip to content

Commit

Permalink
linter stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
coilysiren committed Nov 13, 2024
1 parent 7682e01 commit db05817
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/vulnerability-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,17 @@ jobs:
- name: Download and extract the vulnerability DB
if: steps.cache-trivy.outputs.cache-hit != 'true'
run: |
mkdir -p $GITHUB_WORKSPACE/.cache/trivy/db
mkdir -p "$GITHUB_WORKSPACE/.cache/trivy/db"
oras pull ghcr.io/aquasecurity/trivy-db:2
tar -xzf db.tar.gz -C $GITHUB_WORKSPACE/.cache/trivy/db
tar -xzf db.tar.gz -C "$GITHUB_WORKSPACE/.cache/trivy/db"
rm db.tar.gz
- name: Download and extract the Java DB
if: steps.cache-trivy.outputs.cache-hit != 'true'
run: |
mkdir -p $GITHUB_WORKSPACE/.cache/trivy/java-db
mkdir -p "$GITHUB_WORKSPACE/.cache/trivy/java-db"
oras pull ghcr.io/aquasecurity/trivy-java-db:1
tar -xzf javadb.tar.gz -C $GITHUB_WORKSPACE/.cache/trivy/java-db
tar -xzf javadb.tar.gz -C "$GITHUB_WORKSPACE/.cache/trivy/java-db"
rm javadb.tar.gz
- name: Cache DBs
Expand Down

0 comments on commit db05817

Please sign in to comment.