Skip to content

Commit

Permalink
CI: Add image to scan
Browse files Browse the repository at this point in the history
  • Loading branch information
bbusse committed Jan 10, 2024
1 parent 8b54fbb commit 7affe70
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/setup-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install podman
run: sudo apt install podman -y
- name: Start minikube
id: minikube
uses: medyagh/setup-minikube@latest
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
name: Build
name: Scan images
runs-on: ubuntu-20.04
steps:
- name: Checkout code
Expand All @@ -19,3 +19,10 @@ jobs:
image-ref: 'ghcr.io/bbusse/gtfso-import'
format: 'sarif'
output: 'trivy-results.sarif'

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'ghcr.io/bbusse/gtfso-vbb'
format: 'sarif'
output: 'trivy-results.sarif'

0 comments on commit 7affe70

Please sign in to comment.