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
Hibariya fa4c3c59cb Add --userns flag to support Docker daemon that enables user namespace (#533)
I got an error like this after hitting `act` command.

> Error: Error response from daemon: cannot share the host's network namespace when user namespaces are enabled

According to the document, when user namespaces are enabled on the Docker daemon,
neither host network mode and --privileged work without --userns=host. Since `act`
uses host network mode to match GitHub Actions runners, it cannot run jobs when
user namespaces are enabled. So I added the flag.

https://docs.docker.com/engine/security/userns-remap/#user-namespace-known-limitations

Co-authored-by: Casey Lee <cplee@nektos.com>
2021-02-27 08:31:25 -08:00
.github Add GitHub issue templates (#512) 2021-02-08 09:15:51 -08:00
act Add --userns flag to support Docker daemon that enables user namespace (#533) 2021-02-27 08:31:25 -08:00
cmd Add --userns flag to support Docker daemon that enables user namespace (#533) 2021-02-27 08:31:25 -08:00
main.go Initial commit with support for GitHub actions 2019-01-12 20:45:25 -08:00