diff --git a/x-pack/dockerlogbeat/magefile.go b/x-pack/dockerlogbeat/magefile.go index 4c0c7daeb02..5251e9285a1 100644 --- a/x-pack/dockerlogbeat/magefile.go +++ b/x-pack/dockerlogbeat/magefile.go @@ -320,7 +320,7 @@ func Export() error { for _, plat := range devtools.Platforms { arch := plat.GOARCH() - tarballName := fmt.Sprintf("%s-%s-%s-%s.tar.gz", logDriverName, version, arch, "docker-plugin") + tarballName := fmt.Sprintf("%s-%s-%s-%s.tar.gz", logDriverName, version, "docker-plugin", arch) outpath := filepath.Join("../..", packageEndDir, tarballName)