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:
parent
d2c440bf4f
commit
c29a448085
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue