Skip to content

Commit dddeca7

Browse files
committed
Don't enforce security scans on master
because k3s CVEs our no in our control and it's blocking the rest of the tests from running. Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
1 parent af74352 commit dddeca7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/image-master.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
version: "auto"
3030
iso: true
3131
grype: true
32-
security_scan_mode: "enforce"
32+
security_scan_mode: ${{ matrix.security_scan_mode }}
3333
registry_domain: "quay.io"
3434
registry_namespace: "kairos"
3535
registry_repository: "ci-temp-images"
@@ -47,7 +47,11 @@ 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"
5051
- image_name: "hadron"
5152
base_image: "ghcr.io/kairos-io/hadron:v0.3.0"
5253
kubernetes_distro: "k3s"
5354
custom_job_name_format: "standard-amd64-generic-k3s"
55+
# Report-only: k3s CVEs come from upstream and should not block
56+
# master builds / tests. Mirrors release.yaml (PR #4052).
57+
security_scan_mode: "report-only"

0 commit comments

Comments
 (0)