Commit Graph

4 Commits

Author SHA1 Message Date
rlabadmin d2542879f7 Drop explicit docker.sock mount — runner auto-injects it
Build & Deploy / build (push) Failing after 2s
Build & Deploy / deploy (push) Has been skipped
ba-runner already binds /var/run/docker.sock into every job container,
so declaring it in the workflow caused a Duplicate mount point error.
Keep the docker:27-cli image; let the runner provide the socket.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 14:32:00 +02:00
rlabadmin dde3f49571 Run build job in docker:27-cli container with host socket mount
Build & Deploy / build (push) Failing after 2s
Build & Deploy / deploy (push) Has been skipped
act_runner spawns an ephemeral container per job; the default image
lacks the docker CLI and cannot reach the host's Docker daemon. Use
the official docker:27-cli image and bind-mount /var/run/docker.sock
so docker build/push target the host engine.

Requires runner config.yaml to include /var/run/docker.sock in
container.valid_volumes; otherwise the mount is rejected.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 14:29:43 +02:00
rlabadmin 3545d8a6f0 Use built-in GITHUB_TOKEN for Gitea registry login
Build & Deploy / build (push) Failing after 3s
Build & Deploy / deploy (push) Has been skipped
Avoids needing to configure REGISTRY_USER / REGISTRY_PASSWORD secrets.
Gitea injects a per-run token scoped to the repo's own packages.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 14:25:03 +02:00
rlabadmin 48a3d3f3f5 Initial scaffold: static site served by nginx on :8080
Build & Deploy / build (push) Failing after 3s
Build & Deploy / deploy (push) Has been skipped
- public/index.html served via nginx.conf (port 8080)
- Dockerfile: nginx:1.27-alpine + HEALTHCHECK
- .gitea/workflows/flow.yml: build + push to Gitea registry, rolling deploy
- stack.yml: Swarm service wired to Traefik (host testwebsite.dev.serso.org)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 14:21:51 +02:00