mirror of
https://github.com/renovatebot/renovate.git
synced 2025-05-14 08:22:26 +00:00
37 lines
872 B
YAML
37 lines
872 B
YAML
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@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5 # 0.30.0
|
|
with:
|
|
image-ref: ghcr.io/renovatebot/renovate:${{ matrix.tag }}
|
|
format: 'sarif'
|
|
output: 'trivy-results.sarif'
|
|
|
|
- uses: github/codeql-action/upload-sarif@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
|
|
with:
|
|
sarif_file: trivy-results.sarif
|
|
category: 'docker-image-${{ matrix.tag }}'
|