Skip to content

Commit

Permalink
resolve tag error
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-trace authored Oct 29, 2024
1 parent 38bdb12 commit 1a06693
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions trivy-fs-scan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,11 @@ runs:
rm db.tar.gz
- name: Download and extract the Java DB
shell: sh
run: |
mkdir -p $GITHUB_WORKSPACE/.cache/trivy/java-db
oras pull public.ecr.aws/aquasecurity/trivy-db
tar -xzf javadb.tar.gz -C $GITHUB_WORKSPACE/.cache/trivy/java-db
rm javadb.tar.gz
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
rm javadb.tar.gz
- name: Cache DBs
uses: actions/cache/save@v4
Expand Down

0 comments on commit 1a06693

Please sign in to comment.