File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ PULL_POLICY ?= Always
120
120
# Set build time variables including version details
121
121
LDFLAGS := $(shell source ./hack/version.sh; version::ldflags)
122
122
123
+ # Extra arguments for govulncheck, e.g. "-show verbose"
124
+ GOVULNCHECK_ARGS ?=
123
125
124
126
# # --------------------------------------
125
127
# #@ Testing
@@ -597,8 +599,8 @@ verify-container-images: ## Verify container images
597
599
598
600
.PHONY : verify-govulncheck
599
601
verify-govulncheck : $(GOVULNCHECK ) # # Verify code for vulnerabilities
600
- $(GOVULNCHECK ) ./... && R1=$$? || R1=$$? ; \
601
- $(GOVULNCHECK ) -C " $( TOOLS_DIR) " ./... && R2=$$? || R2=$$? ; \
602
+ $(GOVULNCHECK ) $( GOVULNCHECK_ARGS ) ./... && R1=$$? || R1=$$? ; \
603
+ $(GOVULNCHECK ) $( GOVULNCHECK_ARGS ) -C " $( TOOLS_DIR) " ./... && R2=$$? || R2=$$? ; \
602
604
if [ " $$ R1" -ne " 0" ] || [ " $$ R2" -ne " 0" ]; then \
603
605
exit 1; \
604
606
fi
You can’t perform that action at this time.
0 commit comments