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 a39f7de commit 645ce63Copy full SHA for 645ce63
make/_shared/oci-build/01_mod.mk
@@ -29,6 +29,7 @@ $(ko_config_path_$1:$(CURDIR)/%=%): | $(NEEDS_YQ) $(bin_dir)/scratch/image
29
$(YQ) '.builds[0].ldflags[1] = "-w"' | \
30
$(YQ) '.builds[0].ldflags[2] = "{{.Env.LDFLAGS}}"' | \
31
$(YQ) '.builds[0].flags[0] = "-cover"' | \
32
+ $(YQ) '.builds[0].flags[1] = "-covermode=atomic"' | \
33
$(YQ) '.builds[0].linux_capabilities = "$(oci_$1_linux_capabilities)"' \
34
> $(CURDIR)/$(oci_layout_path_$1).ko_config.yaml
35
0 commit comments