installer: env uses repoio
diff --git a/core/installer/soft/client.go b/core/installer/soft/client.go
index 68964d3..e07532e 100644
--- a/core/installer/soft/client.go
+++ b/core/installer/soft/client.go
@@ -129,7 +129,7 @@
return git.Clone(memory.NewStorage(), memfs.New(), &git.CloneOptions{
URL: ss.addressGit(),
Auth: ss.authGit(),
- RemoteName: "soft",
+ RemoteName: "origin",
ReferenceName: "refs/heads/master",
Depth: 1,
InsecureSkipTLS: true,
@@ -141,7 +141,7 @@
return git.Clone(memory.NewStorage(), memfs.New(), &git.CloneOptions{
URL: fmt.Sprintf("%s/%s", ss.addressGit(), name),
Auth: ss.authGit(),
- RemoteName: "soft",
+ RemoteName: "origin",
ReferenceName: "refs/heads/master",
Depth: 1,
InsecureSkipTLS: true,
@@ -166,7 +166,7 @@
func (ss *Client) Push(repo *git.Repository) error {
return repo.Push(&git.PushOptions{
- RemoteName: "soft",
+ RemoteName: "origin",
Auth: ss.authGit(),
})
}
@@ -188,7 +188,7 @@
return git.Clone(memory.NewStorage(), memfs.New(), &git.CloneOptions{
URL: ss.repoPathByName(name),
Auth: ss.authGit(),
- RemoteName: "soft",
+ RemoteName: "origin",
InsecureSkipTLS: true,
})
}