Skip to content

fixup

fixup #21

Workflow file for this run

name: scan_image_for_CVE

Check failure on line 1 in .github/workflows/image_scan.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/image_scan.yml

Invalid workflow file

(Line: 5, Col: 5): A mapping was not expected
on:
- workflow_dispatch
# Every day at 00:00
- schedule:
- cron: "0 0 * * *"
jobs:
scan_image:
name: Scan compute worker image with Trivy
runs-on: ubuntu-latest
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@v0.36.0
with:
image-ref: 'codalab/codabench-compute-worker:latest'
format: 'table'
exit-code: '1'
pkg-types: 'os,library'
severity: 'CRITICAL,HIGH'
scanners: 'vuln'