[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 onlinux/amd64andlinux/arm64for pull requests touchingsurfsense_local/**ordocker/local/**.- A smoke job: start the image, wait for
/healththrough Caddy, check that a non-localHostis refused. - Pushing to GHCR (by digest, merged manifest, tags) on
devand onv[1-9]*tags, followingdocker-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
devpublishesghcr.io/modsetter/surfsense:dev. -
docker-build.ymlis 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.
Source: MODSetter/SurfSense