Skip to content

Commit

Permalink
[CI] Add Trivy vulnerables check
Browse files Browse the repository at this point in the history
Signed-off-by: v.oleynikov <[email protected]>
  • Loading branch information
duckhawk committed Aug 19, 2024
1 parent 738ee1c commit ad306bb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/trivy_check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Trivy check for sub repos

on:
pull_request:
push:
branches:
- main

jobs:
test:
name: Go linter for images
runs-on: [self-hosted, regular]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Trivy
uses: aquasecurity/trivy-action@master

- name: Run Trivy filesystem scan
run: |
trivy fs .

0 comments on commit ad306bb

Please sign in to comment.