diff --git a/Makefile b/Makefile index 431dd07..9fd6e23 100644 --- a/Makefile +++ b/Makefile @@ -105,15 +105,8 @@ security: build grype ${IMAGE_CLI}-dev-${VERSION_TAG}-${ARCH} --fail-on high; \ cli_exit_code=$$?; \ if [ $$fpm_exit_code -ne 0 ] || [ $$cli_exit_code -ne 0 ]; then \ - echo "One or more commands failed."; \ - if [ $$fpm_exit_code -ne 0 ]; then \ - echo "FPM image has high security findings."; \ - exit 1; \ - fi; \ - if [ $$cli_exit_code -ne 0 ]; then \ - echo "CLI image has high security findings."; \ - exit 1; \ - fi; \ + echo "Containers have high security findings."; \ + exit 1; \ else \ echo "No high security findings."; \ fi