mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-08 08:10:30 +00:00
This commit is contained in:
1 parent
143676fcfb
commit
16520bb277
4 files changed
+66
-3
No files matched your search
@@ -105,6 +105,7 @@ func (cr *containerReference) CopyDir(destPath string, srcPath string) common.Ex
|
||||
common.NewInfoExecutor("%sdocker cp src=%s dst=%s", logPrefix, srcPath, destPath),
|
||||
cr.connect(),
|
||||
cr.find(),
|
||||
cr.exec([]string{"mkdir", "-p", destPath}, nil),
|
||||
cr.copyDir(destPath, srcPath),
|
||||
).IfNot(common.Dryrun)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user