1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

fix #5 - configure docker client via env

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

View file

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