Skip to content

test(trivy-action): html template #79

test(trivy-action): html template

test(trivy-action): html template #79

name: trivy-action
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in fs mode
uses: DmitriyLewen/trivy-action@e00c0f190873e3081237776c144bfa96fae46d5c
with:
scan-type: 'fs'
image-ref: '.'
format: 'template'
exit-code: '0'
vuln-type: 'os,library'
version: "v0.56.2"
template: '@$HOME/.local/bin/trivy-bin/html.tpl'