Skip to content

Commit

Permalink
Replace Snyk scan with Trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
claabs committed Apr 26, 2024
1 parent 4c888bf commit ceb55fd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 57 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/container-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Container Scan

on:
schedule:
- cron: "30 17 * * 4"
workflow_dispatch:

jobs:
trivy:
runs-on: ubuntu-latest
steps:
- name: Scan Alpine image
uses: aquasecurity/trivy-action@master
with:
image-ref: ghcr.io/claabs/epicgames-freegames-node:latest
format: sarif
output: sarif-results/alpine.sarif
- name: Scan Debian image
uses: aquasecurity/trivy-action@master
with:
image-ref: ghcr.io/claabs/epicgames-freegames-node:debian
format: sarif
output: sarif-results/debian.sarif
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: sarif-results
57 changes: 0 additions & 57 deletions .github/workflows/snyk-container-analysis.yml

This file was deleted.

0 comments on commit ceb55fd

Please sign in to comment.