Add Gitea container publish workflow
Some checks failed
CI / Publish container image (push) Has been cancelled
CI / Lint and build app (push) Has started running

This commit is contained in:
Space-Banane
2026-05-14 17:19:36 +02:00
parent 3f5ffc74af
commit 198c60aa34
2 changed files with 83 additions and 0 deletions

View File

@@ -30,4 +30,20 @@ docker compose up --build
The compose service publishes the app on `0.0.0.0:6666`.
## CI Image Publishing
Gitea Actions workflow: `.gitea/workflows/ci.yml`
Required repository or organization secrets:
- `REGISTRY_USERNAME`: Gitea username allowed to publish packages
- `REGISTRY_TOKEN`: Gitea personal access token with package read/write access
On pushes to `main`, CI publishes:
```bash
gitea.reversed.dev/space/evil-wordle:latest
gitea.reversed.dev/space/evil-wordle:<commit-sha>
```
The app is built with React, Tailwind CSS, and Vite. Progress, settings, and stats are stored in `localStorage`. Guess validation uses `word-list-json`; curated local word buckets in `src/data/words.ts` control target selection and provide the fallback pool.