Skip to content

feature: add Trivy scanner #1

feature: add Trivy scanner

feature: add Trivy scanner #1

Workflow file for this run

name: build
on:
push:
branches:
- develop
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@0.24.0
with:
scan-type: "fs"
scan-ref: "."
trivy-config: trivy.yaml