We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017b64b commit d2b81f8Copy full SHA for d2b81f8
make/_shared/oci-build/01_mod.mk
@@ -28,7 +28,7 @@ $(ko_config_path_$1:$(CURDIR)/%=%): | $(NEEDS_YQ) $(bin_dir)/scratch/image
28
$(YQ) '.builds[0].ldflags[0] = "-s"' | \
29
$(YQ) '.builds[0].ldflags[1] = "-w"' | \
30
$(YQ) '.builds[0].ldflags[2] = "{{.Env.LDFLAGS}}"' | \
31
- $(YQ) '.builds[0].flags[0] = "$(go_$1_flags)"' | \
+ $(YQ) '.builds[0].flags[0] = "-cover"' | \
32
$(YQ) '.builds[0].linux_capabilities = "$(oci_$1_linux_capabilities)"' \
33
> $(CURDIR)/$(oci_layout_path_$1).ko_config.yaml
34
0 commit comments