func trustedCmd(cmd *icmd.Cmd) { pwd := "12345678" cmd.Env = append(cmd.Env, trustEnv(notaryURL, pwd, pwd)...) }
func withoutCache(cmd *icmd.Cmd) func() { cmd.Command = append(cmd.Command, "--no-cache") return nil }