Use Buildx Gitea publish workflow
Some checks failed
test-build-publish / docker (push) Failing after 10m2s

This commit is contained in:
Space-Banane
2026-05-14 18:01:59 +02:00
parent c0bb487c05
commit f478c335fb
2 changed files with 100 additions and 63 deletions

View File

@@ -37,15 +37,18 @@ 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
- `REGISTRY_PASSWORD`: Gitea personal access token with package read/write access
- `REGISTRY_IMAGE`: full image name, for example `gitea.reversed.dev/space/evil-wordle`
The workflow installs Docker if it is missing. If your Gitea runner is itself containerized, it still needs either privileged mode for Docker-in-Docker or a mounted host Docker socket.
The workflow uses `catthehacker/ubuntu:act-latest`, Docker Buildx, and links the published package back to the `space/evil-wordle` repository through the Gitea API.
On pushes to `main`, CI publishes:
```bash
gitea.reversed.dev/space/evil-wordle:latest
gitea.reversed.dev/space/evil-wordle:<commit-sha>
gitea.reversed.dev/space/evil-wordle:<short-commit-sha>
```
Tags like `v1.2.3` also publish `gitea.reversed.dev/space/evil-wordle:1.2.3`.
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.