Skip to content

Commit

Permalink
ci: update trivy options (#1637)
Browse files Browse the repository at this point in the history
Remove deprecated flag and do not scan secret as ovs has embed private key for ssl.
  • Loading branch information
oilbeater authored Jun 23, 2022
1 parent 3d82780 commit 011eba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ lint-windows:

.PHONY: scan
scan:
trivy image --light --exit-code=1 --severity=HIGH --ignore-unfixed $(REGISTRY)/kube-ovn:$(RELEASE_TAG)
trivy image --light --exit-code=1 --severity=HIGH --ignore-unfixed $(REGISTRY)/vpc-nat-gateway:$(RELEASE_TAG)
trivy image --exit-code=1 --severity=HIGH --ignore-unfixed --security-checks vuln $(REGISTRY)/kube-ovn:$(RELEASE_TAG)
trivy image --exit-code=1 --severity=HIGH --ignore-unfixed --security-checks vuln $(REGISTRY)/vpc-nat-gateway:$(RELEASE_TAG)

.PHONY: ut
ut:
Expand Down

0 comments on commit 011eba2

Please sign in to comment.