mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-08 16:20:29 +00:00
Close docker client (#789)
* Close docker client! * Fix nil dereference * Update run_context.go * Bump Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
f8ddfca6f7
commit
83a28d9512
7 files changed
+24
-3
No files matched your search
@@ -38,6 +38,7 @@ func NewDockerBuildExecutor(input NewDockerBuildExecutorInput) common.Executor {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer cli.Close()
|
||||
|
||||
logger.Debugf("Building image from '%v'", input.ContextDir)
|
||||
|
||||
|
||||
Reference in new issue
Block a user