I would like to setup Gitea Actions for a project that requires Debian as a build environment (https://debian-live-config.readthedocs.io/ - it uses
live-build which must be run on the same Debian environment as the target/ISO you want to generate).
As far as I can see, act-runner is only able to use
ubuntu as a base runner image - i.e. one of the values documented in Choosing the runner for a job - GitHub Docs (by the way, this is not documented in Gitea Actions docs, maybe it should be mentioned?)
Is there a way to:
- either build a Debian-based image, and make it available to act-runner to run workflows on?
- or run workflows for this repository directly on the host running act-runner (which runs Debian)? I am aware of the security implications, I would only use host-based actions for this specific repository - this may be the preferred solution since
live-buildseems to require direct access to the
/procfilesystem and a few other things that are not available in container-based environments (at least this was the case the last time I tried using Gitlab CI).
Running workflows directly on the host is mentioned in the docs (“don’t do this”), but not documented.