Skip to content

Create vulnerability-scanner.yaml #1

Create vulnerability-scanner.yaml

Create vulnerability-scanner.yaml #1

name: build
on:
push:
branches:
- feature/docker-security-scanning
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-24.04
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.28.0
with:
image-ref: 'tungbq/devops-toolkit:latest'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'