diff --git a/cmd/cosign/cli/policy_init.go b/cmd/cosign/cli/policy_init.go index 8848a35a972..8e67e21c0d3 100644 --- a/cmd/cosign/cli/policy_init.go +++ b/cmd/cosign/cli/policy_init.go @@ -52,7 +52,7 @@ func validEmail(email string) bool { } func rootPath(imageRef string) string { - return filepath.Join(imageRef, "root.json") + return filepath.Join(imageRef, "root") } func Policy() *cobra.Command {