Skip to content

Commit

Permalink
add initial trivy gh action script
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmostafa committed Sep 13, 2024
1 parent b5fb9ca commit 2eecd63
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/trivy-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build
on:
push:
branches:
- develop
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@0.24.0
with:
scan-type: "fs"
scan-ref: "."
trivy-config: trivy.yaml

0 comments on commit 2eecd63

Please sign in to comment.