forgejo-runner-act/pkg
Zettat123 ed9b6643ca Do not set the default network to host (#55)
In [nektos/act/pull/1739](https://github.com/nektos/act/pull/1739), the container network mode defaults to `host` if the network option isn't specified in `options`.  When calling `ConnectToNetwork`, the `host` network mode may cause the error:
`Error response from daemon: container sharing network namespace with another container or host cannot be connected to any other network`
see the code: a94a01bff2/pkg/container/docker_run.go (L51-L68)

To avoid the error, this logic needs to be removed to keep the default network mode as `bridge`.

Reviewed-on: https://gitea.com/gitea/act/pulls/55
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>
2023-05-09 16:41:31 +08:00
..
artifactcache Support cache (#1770) 2023-04-28 15:57:40 +00:00
artifacts fix: tolerate workflow that needs a missing job (#1595) (#1619) 2023-02-16 16:41:59 +00:00
common Merge tag 'nektos/v0.2.45' 2023-05-04 17:45:53 +08:00
container Do not set the default network to host (#55) 2023-05-09 16:41:31 +08:00
exprparser Support configuration variables (#43) 2023-04-19 15:22:56 +08:00
jobparser Keep the order of on when parsing workflow (#46) 2023-04-24 23:16:41 +08:00
lookpath feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
model Merge tag 'nektos/v0.2.45' 2023-05-04 17:45:53 +08:00
runner Fix regression after merging upstream (#54) 2023-05-04 17:54:09 +08:00
workflowpattern feat: workflowpattern package (#1618) 2023-02-23 18:21:08 +00:00