Skip to content

Commit

Permalink
[backend]uddate trivy source
Browse files Browse the repository at this point in the history
  • Loading branch information
guzhongren committed Nov 8, 2024
1 parent aafef85 commit 1fbe0bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ jobs:
- name: Run Trivy vulnerability scanner for frontend
uses: aquasecurity/trivy-action@master
env:
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
with:
image-ref: frontend:latest
format: "table"
Expand All @@ -267,6 +269,8 @@ jobs:
trivyignores: ".trivyignore"
- name: Run Trivy vulnerability scanner for backend
uses: aquasecurity/trivy-action@master
env:
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
with:
image-ref: backend:latest
format: "table"
Expand Down

0 comments on commit 1fbe0bd

Please sign in to comment.