GitHub Actions with act
Run a repository's GitHub Actions workflows on a remote machine with act, an open-source local runner, through coma connect.
act is an open-source tool that runs GitHub Actions workflows on your computer. It reads .github/workflows/, starts a container for each job through the Docker API and runs the steps inside it. After coma connect, that Docker API is the machine's engine. So the job containers, the image pulls and the CPU they use are on the machine, while you run act from your repository as usual.
This page was checked with act 0.2.99 and a Docker engine on the machine. COMA does not install act; follow its installation guide.
Run a workflow
Connect to the machine:
coma connect devPoint DOCKER_HOST at COMA's socket. act does not read Docker contexts, so it needs the variable (see Tools that ignore Docker contexts):
eval "$(coma endpoint env)"Run a job from your repository:
act -j test -P ubuntu-latest=catthehacker/ubuntu:act-latest-P chooses the image for runs-on: ubuntu-latest. You can put the flag in act's config file instead; act's documentation describes the image choices.
act's first lines say which engine it uses:
time="2026-11-29T11:55:23Z" level=info msg="Using docker host 'unix:///Users/you/.coma/run/docker.sock', and daemon socket 'unix:///Users/you/.coma/run/docker.sock'"Without DOCKER_HOST, act looks for /var/run/docker.sock on your computer and fails with failed to connect to the docker API.
act push runs every workflow that a push triggers. Independent jobs run in parallel on the machine.
What works
| Workflow feature | Through COMA |
|---|---|
run steps | Run on the machine |
actions/checkout | Works. act copies your working directory into the job container |
JavaScript actions, such as actions/setup-node | Work |
Docker actions (uses: docker://…) | Work |
container: jobs and services: | Work. Steps reach a service by its name, such as postgres |
docker build and docker run inside a step | Work. act mounts the Docker socket into the job container, and COMA maps that mount to the engine's socket on the machine |
actions/cache | Misses (below) |
actions/upload-artifact and download-artifact | Fail (below) |
Images are pulled by the machine's engine and stay in its image store, so the first run of a job is the slow one. act's runner images are large; they use the machine's disk and network, not your computer's.
Bind the working directory
By default act copies your working directory into each job container. With --bind it bind-mounts the directory instead. Through COMA a bind mount must point inside a directory COMA syncs to the machine, so act --bind outside a workspace fails with sync_bind_source_unmanaged.
Start a workspace for the repository first, then use --bind:
coma workspace init --machine dev
coma workspace up
act --bind -j testThe job then works on the synced copy. Files it writes stay on the machine: the default sync mode, one-way-safe, never copies changes back to your computer. See Sync and Workspaces.
Cache and artifacts
act serves the cache and artifact APIs from your computer. The job containers run on the machine and cannot reach them, and COMA tunnels only forward ports from your computer to the machine, never back.
-
actions/cachewaits about 20 seconds for the cache server, warns and carries on, once on restore and once on save. The job still succeeds. Run act with--no-cache-serverto turn those waits into an immediate miss:act -j test --no-cache-server -
actions/upload-artifactanddownload-artifactfail withECONNREFUSED, with or without--artifact-server-path. Run the jobs that use them on GitHub, or leave those steps out of local runs.
Things to know
- act is not GitHub. Some workflow features behave differently or are missing; see act's unsupported functionality.
coma disconnectleavesDOCKER_HOSTset in the shell where you raneval, pointing at a socket that no longer reaches a machine. Open a new shell, or unset it.- With act's default
--network host, a job'slocalhostis the machine's, not your computer's. - Only a Docker engine on the machine was checked with act. Podman was not.
Tools that ignore Docker contexts
Point Docker SDKs, Testcontainers and other DOCKER_HOST tools at a remote machine with coma endpoint env, a per-machine endpoint or a fixed Docker context.
Troubleshooting
Diagnose COMA with coma doctor and coma endpoint doctor, and fix local fallback, busy ports, sync conflicts and reconnects.
© 2026 Fractional Tech Ltd. COMA is a trademark of Fractional Tech Ltd. Privacy
COMA is in pre-alpha. Commands in these docs were checked against v0.1.0-rc.11.