Skip to content

Commit 27cdced

Browse files
authored
Create vulnerability-scanner.yaml
1 parent c1ff84d commit 27cdced

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: build
2+
on:
3+
push:
4+
branches:
5+
- feature/docker-security-scanning
6+
pull_request:
7+
jobs:
8+
build:
9+
name: Build
10+
runs-on: ubuntu-24.04
11+
steps:
12+
- name: Run Trivy vulnerability scanner
13+
uses: aquasecurity/[email protected]
14+
with:
15+
image-ref: 'tungbq/devops-toolkit:latest'
16+
format: 'table'
17+
exit-code: '1'
18+
ignore-unfixed: true
19+
vuln-type: 'os,library'
20+
severity: 'CRITICAL,HIGH'

0 commit comments

Comments
 (0)