Skip to content

Commit 38df497

Browse files
authored
MLE-15932 image scan (#13)
1 parent 6ff0fd7 commit 38df497

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -316,4 +316,8 @@ $(HELMIFY): $(LOCALBIN)
316316
test -s $(LOCALBIN)/helmify || GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@latest
317317

318318
helm: manifests kustomize helmify
319-
$(KUSTOMIZE) build config/default | $(HELMIFY) charts/marklogic-operator
319+
$(KUSTOMIZE) build config/default | $(HELMIFY) charts/marklogic-operator
320+
321+
.PHONY: image-scan
322+
image-scan: docker-build
323+
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock anchore/grype:latest $(IMG)

go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/marklogic/marklogic-kubernetes-operator
22

3-
go 1.22.3
4-
5-
toolchain go1.22.4
3+
go 1.22.6
64

75
require (
86
github.com/cisco-open/k8s-objectmatcher v1.10.0

0 commit comments

Comments
 (0)