Forgejo Actions configuration has seen lots of improvements over the last days.
-
Docker workflows are now supported through a dedicated docker-in-docker (DIND) instance processing all workflows. See TLS Docker jobs with Forgejo Actions (systemd) | devXY and Utilizing Docker within Actions | Forgejo – Beyond coding. We forge. for more background information. To use it, set
runs-on: dockerin the Actions spec. Thedindimage will always run the latest docker version available. Agent and client communicate via TLS. -
We added many new
runs-onlabels. Previously, only one (generic)dockerlabel was available. Now the following ones are supported:debian-latestdebian-node22debian-trixiedebian-trixie-node22ubuntu-latestubuntu-node22alpine-latestalpine-node22
The
*-latestvariants will always auto-update to the latest node version available upstream (we are following the mirrors of data.forgejo.org). The pinned versions will stay as is until they become EOL.ubuntu-latestis just an alias fordebian-latest(to simplify GitHub Actions migration) as there is no Ubuntu image with node available.
BREAKING: Beforehand, the docker label was running debian-bookworm:node22. Now the docker labels runs docker:dind which has different capabilities and entrypoint. If your workflow now errors, please switch to debian-latest or another label of your choice.
Apologies for the breakage, the initial config with a single label named docker wasn’t really a good one.
IPV6
All CI agents (Actions and Crow) now support IPV6, even when running through dind!
Crow CI 4.4.0
Crow CI has been updated to v4.4.0 which comes with many QOL fixes, especially for agent (re)connectivity and a freshly redesigned agent view.