ci: automate dev container build via devcontainer.json + workflow #553

Merged
guettlibot merged 1 commits from refs/pull/553/head into main 2026-06-09 19:31:48 +00:00
1 Commits
Author SHA1 Message Date
Thomas GüttlerandClaude Opus 4.7 582bc439db ci: automate dev container build via devcontainer.json + workflow
Adds .devcontainer/devcontainer.json that points to Dockerfile.dev so any
devcontainer-aware tool (VS Code, Codespaces, etc.) can build the local
dev environment directly from source.

Adds a Forgejo workflow that rebuilds and pushes the image to
codeberg.org/guettli/sharedinbox-dev (tagged both :latest and the short
commit SHA) whenever Dockerfile.dev, the devcontainer config, or the
workflow itself changes on main. This prevents the published image from
silently drifting from its source.

The workflow uses the built-in FORGEJO_TOKEN to log in to the Codeberg
container registry - no extra secrets needed.

Closes #552

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-09 14:25:35 +00:00