install.sh: detect RAM at runner install time and create swap only when
needed (<2GB → 2G swap, 2-4GB → 1G swap, >4GB → no swap).
workflow: detect RAM at build time and set NODE_OPTIONS accordingly
(<2GB → 768MB, 2-4GB → 1536MB, >4GB → 3072MB).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- workflow: limit Node.js to 768MB (NODE_OPTIONS --max-old-space-size)
and remove GitHub Actions cache (not supported on Forgejo Actions)
- install: auto-create 2GB swapfile when installing Forgejo Runner so
the build process does not OOM on low-RAM machines
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Update workflow REGISTRY to src.d3v.ac and use FORGEJO_TOKEN for auth
- Update IMAGE_NAME in install.sh to src.d3v.ac/xtcnet/d3v-server:latest
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add paths filter so the build only triggers on changes to backend/,
frontend/, docker/, or the workflow file itself. Edits to install.sh,
CLAUDE.md, etc. no longer cause unnecessary image rebuilds.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>