mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Fix trivy scan (#5967)
This PR fixes trivy scan caused by recent change in upsteam Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
3
.github/workflows/trivy-scan.yaml
vendored
3
.github/workflows/trivy-scan.yaml
vendored
@@ -24,8 +24,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
image-ref: 'docker.io/coredns/coredns:${{ matrix.versions }}'
|
image-ref: 'docker.io/coredns/coredns:${{ matrix.versions }}'
|
||||||
severity: 'CRITICAL,HIGH'
|
severity: 'CRITICAL,HIGH'
|
||||||
format: 'template'
|
format: 'sarif'
|
||||||
template: '@/contrib/sarif.tpl'
|
|
||||||
output: 'trivy-results.sarif'
|
output: 'trivy-results.sarif'
|
||||||
|
|
||||||
- name: Upload Trivy scan results to GitHub Security tab
|
- name: Upload Trivy scan results to GitHub Security tab
|
||||||
|
|||||||
Reference in New Issue
Block a user