-
Notifications
You must be signed in to change notification settings - Fork 3k
37 lines (30 loc) · 871 Bytes
/
trivy.yml
File metadata and controls
37 lines (30 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: trivy
on:
# schedule:
# - cron: '59 11 * * *'
workflow_dispatch:
permissions: {}
jobs:
trivy:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
strategy:
matrix:
tag:
- latest
- full
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
show-progress: false
- uses: aquasecurity/trivy-action@dc5a429b52fcf669ce959baa2c2dd26090d2a6c4 # 0.32.0
with:
image-ref: ghcr.io/renovatebot/renovate:${{ matrix.tag }}
format: 'sarif'
output: 'trivy-results.sarif'
- uses: github/codeql-action/upload-sarif@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9
with:
sarif_file: trivy-results.sarif
category: 'docker-image-${{ matrix.tag }}'