File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -409,18 +409,12 @@ jobs:
409
409
410
410
trivy-scan :
411
411
runs-on : ubuntu-20.04
412
- needs : package-linux -amd64
412
+ needs : docker -amd64
413
413
414
414
steps :
415
415
- name : Checkout code
416
416
uses : actions/checkout@v2
417
417
418
- - name : Download release package
419
- uses : actions/download-artifact@v2
420
- with :
421
- name : release-packages
422
- path : ./release-packages
423
-
424
418
- name : Run Trivy vulnerability scanner in repo mode
425
419
uses : aquasecurity/trivy-action@master
426
420
with :
@@ -432,10 +426,16 @@ jobs:
432
426
output : " trivy-repo-results.sarif"
433
427
severity : " CRITICAL"
434
428
429
+ - name : Download release images
430
+ uses : actions/download-artifact@v2
431
+ with :
432
+ name : release-images
433
+ path : ./release-images
434
+
435
435
- name : Run Trivy vulnerability scanner in image mode
436
436
uses : aquasecurity/trivy-action@master
437
437
with :
438
- image-ref : " codercom/code-server:${{ github.sha }} "
438
+ input : " ./release-images/*.tar "
439
439
scan-type : " image"
440
440
ignore-unfixed : true
441
441
format : " template"
You can’t perform that action at this time.
0 commit comments