Skip to content

Commit

Permalink
Merge pull request #926 from yiannistri/924-trivy-action-release-v2.9
Browse files Browse the repository at this point in the history
[v2.9] ci: Fix trivy action timeout
  • Loading branch information
yiannistri authored Nov 6, 2024
2 parents 6e5eac0 + 9b8e9f5 commit 11d82d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Scan
on:
workflow_dispatch:
pull_request:
branches:
- release-v2.9
Expand Down Expand Up @@ -39,7 +40,10 @@ jobs:
REPO=ghcr.io/rancher/eks-operator
COMMIT=${{ github.sha }}
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db
with:
image-ref: "ghcr.io/rancher/eks-operator:${{ github.sha }}"
format: "table"
Expand Down

0 comments on commit 11d82d6

Please sign in to comment.