Skip to content

Commit feed03a

Browse files
committed
Don't block master builds on grype reports
Signed-off-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
1 parent f36b56e commit feed03a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/image-master-arm.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
arch: "arm64"
3030
version: "auto"
3131
grype: ${{ matrix.grype }}
32-
security_scan_mode: "enforce"
32+
# Report-only: the scan still runs and reports, but criticals from the
33+
# upstream base image must not block master builds / tests.
34+
security_scan_mode: "report-only"
3335
registry_domain: "quay.io"
3436
registry_namespace: "kairos"
3537
registry_repository: "ci-temp-images"

.github/workflows/image-master.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ jobs:
4747
base_image: "ghcr.io/kairos-io/hadron:v0.3.0"
4848
kubernetes_distro: ""
4949
custom_job_name_format: "core-amd64-generic"
50-
security_scan_mode: "enforce"
50+
# Report-only: the scan still runs and reports, but criticals from
51+
# the upstream base image must not block master builds / tests.
52+
security_scan_mode: "report-only"
5153
- image_name: "hadron"
5254
base_image: "ghcr.io/kairos-io/hadron:v0.3.0"
5355
kubernetes_distro: "k3s"

0 commit comments

Comments
 (0)