Skip to content

Commit 9780a74

Browse files
committed
Update for new version of grype
1 parent 5a29c68 commit 9780a74

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hack/update-base.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ which grype &>/dev/null || die "This script requires grype."
1313

1414
echo "Scanning latest image for fixed vulnerabilities..."
1515
podman rmi quay.io/containerlisp/lisp-10-ubi8:latest > /dev/null
16-
VULNS=$(grype -q -o table --only-fixed quay.io/containerlisp/lisp-10-ubi8:latest | grep -i rpm | awk '{printf("%25s\t%s\n", $1, $5)}')
16+
VULNS=$(grype -q -o table --only-fixed quay.io/containerlisp/lisp-10-ubi8:latest | grep -i rpm | grep -v suppressed | awk '{printf("%25s\t%s\n", $1, $5)}')
1717

1818
if ! test -z "$VULNS"; then
1919
LISP_BASE_BUILD_DATE=$(date)
@@ -25,4 +25,3 @@ $VULNS"
2525
else
2626
echo "Nothing to do"
2727
fi
28-

0 commit comments

Comments
 (0)