From 0e7a7c374f3ac9d69a1adb4de83b6bad474ce3ce Mon Sep 17 00:00:00 2001 From: Obada Haddad Date: Thu, 2 Jul 2026 17:23:56 +0200 Subject: [PATCH] add manual image scan workflow launch option --- .github/workflows/image_scan.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/image_scan.yml b/.github/workflows/image_scan.yml index ad9ff851c..37671ab5c 100644 --- a/.github/workflows/image_scan.yml +++ b/.github/workflows/image_scan.yml @@ -1,8 +1,10 @@ name: scan_image_for_CVE on: + workflow_dispatch: # Every day at 00:00 schedule: - - cron: "0 0 * * *" + - cron: "0 0 * * *" + jobs: scan_image: name: Scan compute worker image with Trivy @@ -14,6 +16,6 @@ jobs: image-ref: 'codalab/codabench-compute-worker:latest' format: 'table' exit-code: '1' - pkg-types: 'os,library' + vuln-type: 'os,library' severity: 'CRITICAL,HIGH' scanners: 'vuln'