ci: build via host docker socket (plain build); fix missing daemon socket #5
Reference in New Issue
Block a user
Delete Branch "fix/ci-build-push-socket"
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?
build-and-push failed at
docker/setup-buildx-action@v3withERROR: failed to connect to the docker API at unix:///var/run/docker.sock: no such file or directory— the job had no daemon socket (act_runner'sdocker_host: "-"does not mount one into jobs).Fixes:
/var/run/docker.sockinto build-and-push and deploy (both need the host daemon; the socket is already in the runner'svalid_volumes).type=ghacache with plaindocker build/docker pushagainst the host daemon (docker-outside-of-docker) — reuses the host layer cache, drops the buildx/docker-container/gha machinery that doesn't work on this single-host runner.test-backend + test-frontend already pass on 0.45.1; this unblocks build -> deploy. Socket mount + plain build verified in the runner image.
🤖 Generated with Claude Code