Commit graph

9 commits

Author SHA1 Message Date
4690e66cc3 Use vfs storage driver for inner dockerd
Some checks failed
Build and push image / build-and-push (push) Failing after 8m16s
overlay2 (the default) tries to mount an overlayfs layer on top of
the job container's own overlay-mounted root filesystem, which the
kernel rejects (invalid argument). vfs sidesteps nested overlay
mounts entirely.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 15:46:44 +02:00
fdb62dfa87 Run dockerd inside the job container, drop the dind service
Some checks failed
Build and push image / build-and-push (push) Failing after 1m24s
The dind sidecar's hostname failed to resolve via the embedded DNS
resolver (server misbehaving), so cross-container service networking
isn't working reliably here. Run dockerd directly inside the (now
privileged) job container instead, avoiding service networking
entirely.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 15:44:31 +02:00
62a8480ef0 Revert to self-contained dind, drop buildx
Some checks failed
Build and push image / build-and-push (push) Failing after 23s
The runner-side docker CLI/DOCKER_HOST config described by the host
admin doesn't appear to be live yet (default label still has no
docker CLI; a custom container never saw DOCKER_HOST injected). Go
back to a fully self-contained job: own dind sidecar + explicit
DOCKER_HOST, plain docker build/push instead of buildx (which reads
its endpoint from the docker context file rather than DOCKER_HOST).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 15:42:57 +02:00
76627791b0 Stop overriding job container, use runner default
Some checks failed
Build and push image / build-and-push (push) Failing after 3s
Setting container: node:20-bookworm replaced the runner's default
job image wholesale, which is where DOCKER_HOST and the docker CLI
were actually pre-configured. Use the default image so that config
applies.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 15:38:02 +02:00
73144b91aa Drop buildx, use plain docker build/push
Some checks failed
Build and push image / build-and-push (push) Failing after 15s
docker/setup-buildx-action resolves its builder endpoint from the
docker context file rather than the live DOCKER_HOST env var, so it
still tried the (absent) unix socket. Plain docker CLI commands
honor DOCKER_HOST directly, matching what the runner now provides.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 15:36:20 +02:00
f22e93963e Drop custom dind sidecar, use runner-provided docker daemon
Some checks failed
Build and push image / build-and-push (push) Failing after 1m29s
The Forgejo runner infra now gives job containers a privileged
container pre-wired to its own dind sidecar via DOCKER_HOST, so
defining our own docker:dind service would start a conflicting
second daemon. Keep the node image + docker CLI install (still
needed) and drop the services/env block.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 15:25:18 +02:00
8f3138a202 Fix pipeline: use node image with docker CLI installed
Some checks failed
Build and push image / build-and-push (push) Failing after 24s
JS actions (checkout, login-action, etc.) need Node.js, so the docker
CLI-only alpine image couldn't run them. Switch to node:20-bookworm and
install the docker CLI/buildx plugin as a step instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 15:12:39 +02:00
340fc8ba57 Fix pipeline: run build job in a container with docker CLI
Some checks failed
Build and push image / build-and-push (push) Failing after 14s
The runner's default job image has no docker binary. Run the job in
docker:27-cli with a docker:27-dind sidecar service instead of relying
on the runner exposing a host docker socket.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 15:06:40 +02:00
9072622e4f Add Forgejo Actions pipeline to build and push image
Some checks failed
Build and push image / build-and-push (push) Failing after 1m6s
Builds the Containerfile and pushes to git.rosenvold.tech's registry on
push to master.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 15:03:43 +02:00