publish job fails on the runner without a Docker socket #201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The
publishjob fails intermittently after 1-3 seconds:Seen on main runs 660 and 662 (2026-12-01) and on
bad14fa(2026-11-24). Registry login succeeds;docker buildfails because the job container has no/var/run/docker.sock. Runner in the failing runs:82a91a83-27b1-4bb5-a863-07fd1aa359fc(v12.13.2). The same runs have a ~3 min backend job instead of ~8-10 min, so there appear to be two runners behind thejava21label and only the slower one exposes Docker.Effect: merged changes are not published as
:latestwhen the job lands on that runner. As of2be7385the gpodder fixes (#192) and frontend fixes (#196) are merged but not published.Fix options:
container.options: -v /var/run/docker.sock:/var/run/docker.sockplusvalid_volumesin its config), ordocker) and use it forpublishin.forgejo/workflows/build-and-push.yml.Until then: re-run the failed publish job from the Actions page until it lands on the other runner.
Cause confirmed: the failing runner is the WSL runner
xmg(uuid 82a91a83-…), whose/etc/forgejo-runner/config.ymlhaddocker_host: "-"(use Docker, but do not mount the socket into job containers). Changed todocker_host: automountand restarted the service on 2026-12-01; backup at/etc/forgejo-runner/config.yml.bak-20261201. Not yet verified by a publish run on that runner.Verified: the re-run of run 662 executed entirely on the WSL runner (tasks 4239-4242) and
publishsucceeded in 3m14s on commit2be7385. Closing.