diff --git a/x-pack/elastic-agent/magefile.go b/x-pack/elastic-agent/magefile.go index 62669bba28b..4d61d4b80ee 100644 --- a/x-pack/elastic-agent/magefile.go +++ b/x-pack/elastic-agent/magefile.go @@ -608,15 +608,7 @@ func selectedPackageTypes() string { return "" } - envVar := "PACKAGES=" - for _, p := range devtools.SelectedPackageTypes { - if p == devtools.Docker { - envVar += "targz," - } else { - envVar += p.String() + "," - } - } - return envVar[:len(envVar)-1] + return "PACKAGES=targz,zip" } func copyAll(from, to string) error {