Skip to content

Commit 60c9beb

Browse files
committed
Don't block PRs on grype reports
The PR core jobs were the last gates still in enforce mode, so every PR fails on criticals from the upstream base image (out of our control). Mirror master and release builds: keep the scan running and reporting, but make it report-only so it no longer blocks PRs. Now no active scan gate blocks on the base-image CVEs; uki.yaml keeps enforce but runs with grype disabled, so it is inert. Signed-off-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
1 parent ec1e8d8 commit 60c9beb

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ jobs:
6161
version: "auto"
6262
raw: ${{ matrix.model == 'rpi3' || matrix.model == 'rpi4' }} # only produce raw images for rpi3 and rpi4
6363
grype: ${{ matrix.grype }}
64-
security_scan_mode: "enforce"
64+
# Report-only: the scan still runs and reports, but criticals from the
65+
# upstream base image must not block PRs. Mirrors master / release builds.
66+
security_scan_mode: "report-only"
6567
registry_domain: "quay.io"
6668
registry_namespace: "kairos"
6769
registry_repository: "ci-temp-images"

.github/workflows/image-pr.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
version: "auto"
4040
iso: true
4141
grype: true
42-
security_scan_mode: "enforce"
42+
# Report-only: the scan still runs and reports, but criticals from the
43+
# upstream base image must not block PRs. Mirrors master / release builds.
44+
security_scan_mode: "report-only"
4345
registry_domain: "quay.io"
4446
registry_namespace: "kairos"
4547
registry_repository: "ci-temp-images"

0 commit comments

Comments
 (0)