Skip to content

Commit

Permalink
fix(ci): don't ignore images
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau committed Nov 26, 2024
1 parent c8b9a77 commit 812e8bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/scripts/scan-for-licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ function scanLicenses() {
local unacceptedLicenses=()
local unacceptedLicense
licenseMap="$(yq -r '.annotations["artifacthub.io/images"]' "$chart/Chart.yaml" | yq -r '.[] | .image' |
sed -e '/aquasecurity\/trivy-operator/d' -e '/teuto-portal-k8s-worker/d' |
parallel -k trivy image {} --severity HIGH,CRITICAL,MEDIUM -f json --scanners license --license-full --quiet |
jq -s -r "$licenseConversionJq")"
mapfile -t unacceptedLicenses < <(jq <<<"$licenseMap" -r --argjson acceptedLicenses "[\"$(echo -n "${WHITELIST[@]}" | tr " " \\n |
Expand Down

0 comments on commit 812e8bc

Please sign in to comment.