File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ ifeq ($(TARGET_GOARCH), amd64)
28
28
RACE = -race
29
29
endif
30
30
31
- GOFLAGS ?= -a -mod=vendor -buildvcs=false $(RACE )
31
+ GOFLAGS ?= -a -mod=vendor -buildvcs=false -tags="strictfipsruntime" $(RACE )
32
32
33
33
.DEFAULT_GOAL := help
34
34
@@ -65,11 +65,11 @@ verify: ## Run verifications. Example: make verify
65
65
.PHONY : verify
66
66
67
67
build : # # Build the executable. Example: make build
68
- env GOOS=$(TARGET_GOOS ) GOARCH=$(TARGET_GOARCH ) go build $(GOFLAGS ) -o _output/csi-driver-shared-resource ./cmd/csidriver
68
+ env GOOS=$(TARGET_GOOS ) GOARCH=$(TARGET_GOARCH ) GOEXPERIMENT=strictfipsruntime CGO_ENABLED=1 go build $(GOFLAGS ) -o _output/csi-driver-shared-resource ./cmd/csidriver
69
69
.PHONY : build
70
70
71
71
build-webhook : # # Build the executable. Example: make build
72
- env GOOS=$(TARGET_GOOS ) GOARCH=$(TARGET_GOARCH ) go build $(GOFLAGS ) -o _output/csi-driver-shared-resource-webhook ./cmd/webhook
72
+ env GOOS=$(TARGET_GOOS ) GOARCH=$(TARGET_GOARCH ) GOEXPERIMENT=strictfipsruntime CGO_ENABLED=1 go build $(GOFLAGS ) -o _output/csi-driver-shared-resource-webhook ./cmd/webhook
73
73
.PHONY : build-webhook
74
74
75
75
build-image : # # Build the images and push them to the remote registry. Example: make build-image
You can’t perform that action at this time.
0 commit comments