mirror of
https://github.com/appleboy/drone-ssh.git
synced 2026-06-04 18:24:01 +08:00
ci: update scan steps to use drone-ssh Docker image
- Change docker image tag from repository name to drone-ssh for scan steps Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
@@ -73,12 +73,12 @@ jobs:
|
|||||||
file: docker/Dockerfile
|
file: docker/Dockerfile
|
||||||
push: false
|
push: false
|
||||||
load: true
|
load: true
|
||||||
tags: ${{ github.repository }}:scan
|
tags: drone-ssh:scan
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
with:
|
with:
|
||||||
image-ref: "${{ github.repository }}:scan"
|
image-ref: "drone-ssh:scan"
|
||||||
format: "sarif"
|
format: "sarif"
|
||||||
output: "trivy-results.sarif"
|
output: "trivy-results.sarif"
|
||||||
severity: "CRITICAL,HIGH"
|
severity: "CRITICAL,HIGH"
|
||||||
|
|||||||
Reference in New Issue
Block a user