diff --git a/cmd/sops/main.go b/cmd/sops/main.go index c2f7aec42..fca10f303 100644 --- a/cmd/sops/main.go +++ b/cmd/sops/main.go @@ -448,6 +448,7 @@ func main() { err = publishcmd.Run(publishcmd.Opts{ ConfigPath: configPath, InputPath: subPath, + RootPath: path, Cipher: aes.NewCipher(), KeyServices: keyservices(c), DecryptionOrder: order,