Skip to content

Commit

Permalink
feat(.github): add trivy to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
saku-koodari committed Jan 8, 2025
1 parent 80b44d2 commit ae31edd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,18 @@ jobs:
- name: Check formatting
run: ./scripts/check-formatting.sh

security_scan:
name: Security scan with trivy
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Scan with trivy
uses: aquasecurity/[email protected]
with:
scan-type: "fs"
scan-ref: "."
trivy-config: trivy.yaml

build_image:
name: Build image
runs-on: ubuntu-24.04
Expand Down

0 comments on commit ae31edd

Please sign in to comment.