Skip to content

Commit

Permalink
update trivy deprecated arg and the ignored CVE. (#2296)
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Feb 7, 2023
1 parent 9b85bba commit 77cf5e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .trivyignore
@@ -1 +0,0 @@
CVE-2022-29526
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -544,8 +544,8 @@ lint-windows:

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

.PHONY: ut
ut:
Expand Down

0 comments on commit 77cf5e9

Please sign in to comment.