import demo-app template
build / build (push) Has been cancelled

This commit is contained in:
admin
2026-05-26 13:52:14 +04:00
parent 69f64da7c4
commit b48b20c926
5 changed files with 123 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# demo-app (template для Gitea repo)
Это template-копия. На Gitea Actions нужно работать в **Gitea**, поэтому:
1. В Gitea (https://git.furynrage.com) создай repo `admin/demo-app` (private или public).
2. Локально:
```bash
mkdir ~/demo-app-gitea && cd ~/demo-app-gitea
git init
cp -r ~/Desktop/Personal/developer-platform/apps/demo-app/. .
git add . && git commit -m "init"
git remote add origin https://git.furynrage.com/admin/demo-app.git
git push -u origin main
```
(basic auth — admin + пароль из `.secrets-gitea-admin.txt`)
3. В Gitea → Settings → Secrets and Variables → Actions добавь:
- `REGISTRY_USER` = `ci-pusher`
- `REGISTRY_PASSWORD` = из `.secrets-zot.txt`
4. Push в `main` → workflow `.gitea/workflows/build.yml` запустится автоматически.
Результат:
- образ `harbor.furynrage.com/demo-app/app:<sha>` появится в Zot UI
- Trivy scan покажется в logs job'а
- ArgoCD Image Updater подхватит новый тег и задеплоит в namespace `demo-app`