Skip to content

Commit 66670f3

Browse files
committed
disable neuvector scan its container doesn't build
1 parent cebd8a7 commit 66670f3

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/reusable-container-scan.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,16 @@ jobs:
6868
- name: Build container image
6969
run: docker build . --file ${{ inputs.image-definition }} --tag ${{ env.IMAGE_REF }}
7070
shell: bash
71-
- name: Scan container image with NeuVector
72-
if: ${{ inputs.neuvector-enabled }}
73-
uses: neuvector/scan-action@main
74-
with:
75-
image-repository: ${{ inputs.image-path }}/${{ inputs.image-name }}
76-
image-tag: ${{ inputs.image-tag }}
77-
min-high-cves-to-fail: '${{ inputs.max-high-cves }}'
78-
min-medium-cves-to-fail: '${{ inputs.max-medium-cves }}'
79-
nv-scanner-image: neuvector/scanner:5
71+
# deactivated 2026-02-22: "Build container for action use... process "/bin/sh -c zypper in -y jq docker && zypper clean" did not complete successfully: exit code: 8"
72+
# - name: Scan container image with NeuVector
73+
# if: ${{ inputs.neuvector-enabled }}
74+
# uses: neuvector/scan-action@main
75+
# with:
76+
# image-repository: ${{ inputs.image-path }}/${{ inputs.image-name }}
77+
# image-tag: ${{ inputs.image-tag }}
78+
# min-high-cves-to-fail: '${{ inputs.max-high-cves }}'
79+
# min-medium-cves-to-fail: '${{ inputs.max-medium-cves }}'
80+
# nv-scanner-image: neuvector/scanner:5
8081
- name: Scan container image with Trivy
8182
if: ${{ inputs.trivy-enabled }}
8283
uses: aquasecurity/trivy-action@master

0 commit comments

Comments
 (0)