Reviewed-on: t.behrendt/trivy-actions#11 Reviewed-by: branch-buddy <branch-buddy@t00n.de> Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #11.
This commit is contained in:
@@ -18,3 +18,23 @@ jobs:
|
||||
architecture: amd64
|
||||
- name: Run Trivy
|
||||
run: trivy --version
|
||||
|
||||
test-setup-db:
|
||||
name: Test Setup DB
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
- linux_amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: ./setup-trivy
|
||||
with:
|
||||
version: v0.66.0
|
||||
architecture: amd64
|
||||
- name: Setup DB
|
||||
uses: ./setup-db
|
||||
with:
|
||||
cache-dir: ${{ runner.temp }}/trivy
|
||||
- name: Run Trivy
|
||||
env:
|
||||
TRIVY_CACHE_DIR: ${{ runner.temp }}/trivy
|
||||
run: trivy fs --skip-db-update .
|
||||
|
||||
Reference in New Issue
Block a user