ci: pin actions to node20-safe tags + runner sock pass-through #8
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/runner-fix-docker-sock-and-node20"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes two forgejo-runner blockers that broke A1's build attempts:
docker.sock not propagated to job containers. Runner had the host socket bind-mounted into ITS container, but per-job containers (catthehacker/ubuntu) didn't.
addnab/docker-run-action@v3inside the job was unable to reach the docker engine.Fix landed on nullstone (out-of-band — not in this PR):
/home/docker/forgejo-runner/conf/config.yaml— setscontainer.options: -v /var/run/docker.sock:/var/run/docker.sock, whitelists socket viavalid_volumes, setsdocker_host: unix:///var/run/docker.sock./opt/docker/forgejo-runner/docker-compose.yml— bind-mounts the new conf dir at/conf:roand runsdaemon --config /conf/config.yaml.docker compose up -drecreated the container; logs showrunner: nullstone, with version: v6.4.0, with labels: [ubuntu-24.04 nullstone], declared successfullywith the new config in effect.node20 vs node24 mismatch.
actions/checkout@v4floats forward and v4.2+ ships a node24 binary that forgejo-runner v6.4.0 (node20) refuses to exec.softprops/action-gh-release@v2likewise.This PR pins:
actions/checkout→v4.1.7(build-iso.yml + lint.yml)softprops/action-gh-release→v2.0.4(both publish + release-attach steps)addnab/docker-run-actionleft at@v3(composite/docker, no node) with explanatory commentludeeus/action-shellcheck@masterleft untouched (docker-based)Test plan
build-iso.ymlon this branch via Forgejo workflow_dispatch.act-24.04container can reach/var/run/docker.sock.Cannot find module ... node24error).Out of scope
runs-on: ubuntu-24.04for cross-platform validation.