Skip to content

trivy

trivy #1

Workflow file for this run

name: trivy
on:
# schedule:
# - cron: '59 11 * * *'
workflow_dispatch:
permissions: {}
jobs:
trivy:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
strategy:
matrix:
tag:
- latest
- full
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # 0.28.0
with:
image-ref: ghcr.io/renovatebot/renovate:${{ matrix.tag }}
format: 'sarif'
output: 'trivy-results.sarif'
- uses: github/codeql-action/upload-sarif@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
with:
sarif_file: trivy-results.sarif
category: 'docker-image-${{ matrix.tag }}'