We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2776a33 commit b5ad2fcCopy full SHA for b5ad2fc
.github/workflows/trivy-scan.yml
@@ -16,14 +16,13 @@ on:
16
jobs:
17
trivy-scan:
18
runs-on: ubuntu-latest
19
- container:
20
- image: ghcr.io/aquasecurity/trivy:latest
21
- volumes:
22
- - /var/run/docker.sock:/var/run/docker.sock
23
- - /home/runner/work/coherence-js-client/coherence-js-client:/repo
24
25
steps:
26
- - uses: actions/checkout@v4
+ - name: Checkout code
+ uses: actions/checkout@v4
27
28
- - name: Trivy Scan
29
- run: trivy fs --exit-code 1 /repo
+ - name: Run Trivy vulnerability scanner to scan repo
+ uses: aquasecurity/[email protected]
+ with:
+ scan-type: 'fs'
+ exit-code: 1
0 commit comments