mirror of
https://github.com/samuelhbne/proxy-xray.git
synced 2025-12-18 05:04:37 +03:00
Add Trivy pipeline
This commit is contained in:
12
.github/workflows/docker-buildx-dev.yml
vendored
12
.github/workflows/docker-buildx-dev.yml
vendored
@@ -50,4 +50,14 @@ jobs:
|
||||
linux/arm/v7
|
||||
linux/arm/v6
|
||||
push: true
|
||||
tags: ${{ github.repository }}:dev
|
||||
tags: ${{ github.repository }}:${{ github.ref }}
|
||||
-
|
||||
name: Trivy vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@0.20.0
|
||||
with:
|
||||
image-ref: '${{ github.repository }}:${{ github.ref }}'
|
||||
format: 'table'
|
||||
exit-code: '1'
|
||||
ignore-unfixed: true
|
||||
vuln-type: 'os,library'
|
||||
#severity: 'CRITICAL,HIGH'
|
||||
Reference in New Issue
Block a user