#2106·SurfSense

[idea] Docker 06/14: CI for the Docker image

Author: AnishSarkar22Created Oct 1, 2026Updated Oct 1, 2026
Labelsenhancementhelp wantedtestdocker

Which part? Desktop app

What would you like?

Step 6 of 14 of #2100: running SurfSense in Docker. Depends on #2105; start once it is merged.

Build and smoke-test the image on every relevant change, so each later step is checked automatically.

Design: Docker proposal, CI

What to change

  • .github/workflows/docker-local.yml: build the CPU image on linux/amd64 and linux/arm64 for pull requests touching surfsense_local/** or docker/local/**.
  • A smoke job: start the image, wait for /health through Caddy, check that a non-local Host is refused.
  • Pushing to GHCR (by digest, merged manifest, tags) on dev and on v[1-9]* tags, following docker-build.yml's pattern.

Done when

  • A pull request touching docker/local/ runs the build and the smoke job on both architectures.
  • A push to dev publishes ghcr.io/modsetter/surfsense:dev.
  • docker-build.yml is unchanged.

Scope: code and tests only. Don't edit docs/ or AGENTS.md, except to fix a link this change breaks; the maintainers update the docs when the Docker work ships.

Why would it help?

Each step leaves something that runs, so the Docker image is built and reviewed one piece at a time.