No description
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| action.yaml | ||
| README.md | ||
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.