1
0
mirror of https://gitea.com/gitea/act_runner synced 2026-05-06 01:37:57 +02:00

fix #5 - configure docker client via env

This commit is contained in:
Casey Lee
2019-01-15 21:54:37 -08:00
parent 28af42867a
commit e8c8579eff
3 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ func NewDockerRunExecutor(input NewDockerRunExecutorInput) common.Executor {
return nil
}
cli, err := client.NewClientWithOpts()
cli, err := client.NewClientWithOpts(client.FromEnv)
if err != nil {
return err
}