Skip to content

Commit 9d94a36

Browse files
committed
ci: remove Trivy vulnerability scanning from CI workflow
- Remove Trivy vulnerability scanning and upload of scan results to GitHub Security tab from the workflow Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 parent f5af77d commit 9d94a36

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

.github/workflows/docker.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,6 @@ jobs:
7575
load: true
7676
tags: drone-ssh:scan
7777

78-
- name: Run Trivy vulnerability scanner
79-
uses: aquasecurity/trivy-action@master
80-
with:
81-
image-ref: "drone-ssh:scan"
82-
format: "sarif"
83-
output: "trivy-results.sarif"
84-
severity: "CRITICAL,HIGH"
85-
exit-code: "1"
86-
87-
- name: Upload Trivy scan results to GitHub Security tab
88-
uses: github/codeql-action/upload-sarif@v3
89-
if: always()
90-
with:
91-
sarif_file: "trivy-results.sarif"
92-
9378
- name: Build and push
9479
if: success()
9580
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)