A daemon that connects to a Forgejo instance and runs jobs for continuous integration. The installation and usage instructions are part of the Forgejo documentation https://forgejo.org/docs/next/admin/actions/
Find a file
Zettat123 f684988ae2 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: d2df2b0eeb/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
.gitea/workflows chore: update go-git dependency in go.mod (#30) 2023-03-26 21:27:19 +08:00
.github chore: run act from cli on linux (#1758) 2023-04-25 17:32:34 +00:00
act Do not set the default network to host (#55) 2023-05-09 16:41:31 +08:00
cmd Support cache (#1770) 2023-04-28 15:57:40 +00:00
main.go feat: add check for newer versions (#1562) 2023-01-15 10:30:41 +00:00