File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ jobs:
233
233
if : steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
234
234
uses :
aquasecurity/[email protected]
235
235
env :
236
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
236
+ TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
237
237
with :
238
238
image-ref : " ${{ steps.trivy-image.outputs.image }}"
239
239
format : " table"
@@ -383,6 +383,8 @@ jobs:
383
383
- name : Trivy scanning
384
384
if : steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
385
385
uses :
aquasecurity/[email protected]
386
+ env :
387
+ TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
386
388
with :
387
389
image-ref : " ${{ steps.trivy-image.outputs.image }}"
388
390
format : " table"
Original file line number Diff line number Diff line change @@ -14,13 +14,17 @@ jobs:
14
14
steps :
15
15
- name : Run Trivy vulnerability scanner (json)
16
16
uses :
aquasecurity/[email protected]
17
+ env :
18
+ TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
17
19
with :
18
20
image-ref : ghcr.io/nrkno/sofie-core-${{ matrix.image }}:latest
19
21
format : json
20
22
output : ' ${{ matrix.image }}-trivy-scan-results.json'
21
23
22
24
- name : Run Trivy vulnerability scanner (table)
23
25
uses :
aquasecurity/[email protected]
26
+ env :
27
+ TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
24
28
with :
25
29
image-ref : ghcr.io/nrkno/sofie-core-${{ matrix.image }}:latest
26
30
output : ' ${{ matrix.image }}-trivy-scan-results.txt'
37
41
38
42
- name : Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
39
43
uses :
aquasecurity/[email protected]
44
+ env :
45
+ TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
40
46
with :
41
47
format : ' github'
42
48
output : ' dependency-results-${{ matrix.image }}.sbom.json'
You can’t perform that action at this time.
0 commit comments