Add Gitea Actions workflow to build and push the Docker image on push to main
Docker / build-and-push (push) Successful in 4m53s

Copied from latent/.gitea/workflows/docker.yml unchanged — it derives the
image name/registry host from repo context, so it works for postcard as-is.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Fredrik Johansson
2026-08-06 19:50:41 +02:00
co-authored by Claude Sonnet 5
parent cf0f5fca2c
commit e5c242418f
2 changed files with 56 additions and 1 deletions
+3 -1
View File
@@ -40,7 +40,9 @@ to `./server/data` (gitignored) for the SQLite db and image blobs.
`docker compose up` using the provided `docker-compose.yml` (copy
`.env.example` to `.env` and adjust — `IMAGE`/`HOST_PORT` are only read by
compose, the rest are passed through to the container).
compose, the rest are passed through to the container). CI builds and
pushes the image on push to `main` via `.gitea/workflows/docker.yml` (needs
a repo secret `TKNTKN` — a Gitea PAT with `packages:write` scope).
## Config