1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

fix #141 - use host network to match GitHub Actions runners (#142)

This commit is contained in:
Casey Lee 2020-03-09 17:43:24 -07:00 committed by GitHub
parent 9ce7657839
commit caba9f7645
4 changed files with 35 additions and 19 deletions

View file

@ -107,10 +107,10 @@ func (rc *RunContext) startJobContainer() common.Executor {
"act-toolcache": "/toolcache",
"act-actions": "/actions",
},
Binds: binds,
Stdout: logWriter,
Stderr: logWriter,
NetworkMode: "host",
Binds: binds,
Stdout: logWriter,
Stderr: logWriter,
})
return common.NewPipelineExecutor(