ci: build via host docker socket (plain build); fix missing daemon socket #5

Merged
fabi merged 1 commits from fix/ci-build-push-socket into main 2026-05-31 17:40:14 +00:00
Owner

build-and-push failed at docker/setup-buildx-action@v3 with ERROR: 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's docker_host: "-" does not mount one into jobs).

Fixes:

  • Mount /var/run/docker.sock into build-and-push and deploy (both need the host daemon; the socket is already in the runner's valid_volumes).
  • Replace buildx + build-push-action + the type=gha cache with plain docker build/docker push against 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

build-and-push failed at `docker/setup-buildx-action@v3` with `ERROR: 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's `docker_host: "-"` does not mount one into jobs). Fixes: - Mount `/var/run/docker.sock` into **build-and-push** and **deploy** (both need the host daemon; the socket is already in the runner's `valid_volumes`). - Replace buildx + build-push-action + the `type=gha` cache with plain `docker build`/`docker push` against 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](https://claude.com/claude-code)
fabi added 1 commit 2026-05-31 17:40:13 +00:00
ci: build via host docker socket (plain build); fix missing daemon socket
Some checks failed
deploy / test-frontend (pull_request) Waiting to run
deploy / test-backend (pull_request) Failing after 1m44s
deploy / build-and-push (pull_request) Has been cancelled
deploy / deploy (pull_request) Has been cancelled
bd61a64c70
build-and-push failed at docker/setup-buildx-action: the job had no
/var/run/docker.sock, so buildx's docker-container driver couldn't reach
the daemon. Mount the host socket into build-and-push and deploy, and
replace setup-buildx + build-push-action (+ the unsupported gha cache)
with a plain docker build/push against the host daemon (DooD), reusing
the host's layer cache.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
fabi merged commit 8e39fadd21 into main 2026-05-31 17:40:14 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: fabi/Mangalord#5