No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-24 11:38:01 +00:00
action.yaml Update docs 2026-11-24 11:38:01 +00:00
README.md Update docs 2026-11-24 11:38:01 +00:00

trivy-runner

Add to your CI workflow to run trivy. Caches both the Trivy binary and the downloaded security database.

Usage

steps:
  - name: Run Trivy Scan
    uses: "https://git.aimmac23.com/public/trivy-runner@master"
    with:
      # Might not be needed if running in Github
      github_pat: ${{ secrets.GITHUB_TOKEN }}
      docker_username: ${{ secrets.DOCKER_USERNAME }}
      docker_password: ${{ secrets.DOCKER_SECRET }}
      image: docker.io/nginx

Caveats

Probably not a good idea if you want the freshest security database downloads, but great for infrequently run projects.

Needs properly working Action Runner cache infrastructure, otherwise it will download the database every time.