We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9603ba2 commit 5316cedCopy full SHA for 5316ced
.github/workflows/trivy.yml
@@ -29,14 +29,11 @@ jobs:
29
- name: Checkout code
30
uses: actions/checkout@v4
31
32
- - name: Build an image from Dockerfile
33
- run: |
34
- docker build -t docker.io/my-organization/my-app:${{ github.sha }} .
35
-
36
- name: Run Trivy vulnerability scanner
37
uses: aquasecurity/trivy-action@7b7aa264d83dc58691451798b4d117d53d21edfe
38
with:
39
- image-ref: 'docker.io/my-organization/my-app:${{ github.sha }}'
+ scan-type: repo # or "fs"
+ scan-ref: . # current repo
40
format: 'template'
41
template: '@/contrib/sarif.tpl'
42
output: 'trivy-results.sarif'
0 commit comments