-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (39 loc) · 882 Bytes
/
scan.yml
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
38
39
40
name: scan
on:
schedule:
- cron: '0 0 * * *'
jobs:
image:
strategy:
matrix:
exclude:
- from: focal
release: zed
- from: focal
release: "2023.1"
- from: jammy
release: wallaby
- from: jammy
release: xena
from:
- focal
- jammy
release:
- wallaby
- xena
- yoga
- zed
- "2023.1"
runs-on: ubuntu-latest
steps:
- uses: aquasecurity/trivy-action@master
with:
image-ref: quay.io/vexxhost/horizon:${{ matrix.release }}
format: 'sarif'
output: 'trivy-results.sarif'
ignore-unfixed: true
- uses: github/codeql-action/upload-sarif@v2
if: always()
with:
category: ${{ matrix.release }}
sarif_file: 'trivy-results.sarif'