updated with Action Runner

This commit is contained in:
2026-06-21 17:03:02 +03:30
parent ab461a5c08
commit 4c2da84795
14 changed files with 525 additions and 221 deletions
+46 -4
View File
@@ -57,7 +57,7 @@ Gitea is used for:
* Pull requests
* Issue management
* Release management
* Future CI/CD pipelines
* Gitea Actions CI/CD pipelines
---
@@ -205,9 +205,45 @@ This directory is critical and must be included in backups.
---
## Gitea Actions
Gitea Actions is enabled in `app.ini` and available globally.
Status:
```text
Operational
```
### Global Runner
| Property | Value |
| --- | --- |
| Location | `/srv/docker/gitea-runner` |
| Image | `gitea/act_runner:latest` |
| Name | `silverlinux-runner` |
| Type | Global Runner |
| Status | Operational |
Labels:
* `ubuntu-latest`
* `ubuntu-24.04`
* `ubuntu-22.04`
The runner registration token is loaded from `GITEA_RUNNER_REGISTRATION_TOKEN` in `/srv/secrets/company.env`.
### Package Publishing
Silver 2.0 uses `.gitea/workflows/package.yml` to build and publish NuGet packages to BaGet. A push to `net-8-version` triggers packaging when the commit message contains `[Package]`.
The publishing credential is stored as the repository Actions secret `BAGET_API_KEY`.
---
## Secrets
The following secrets are loaded from:
Gitea and its Actions runner use infrastructure secrets stored in:
```text
/srv/secrets/company.env
@@ -222,8 +258,12 @@ SMTP_HOST
SMTP_PORT
SMTP_USERNAME
SMTP_PASSWORD
GITEA_RUNNER_REGISTRATION_TOKEN
```
The Gitea container uses the database and SMTP variables. The Actions runner uses `GITEA_RUNNER_REGISTRATION_TOKEN`.
Future variables:
```text
@@ -334,9 +374,8 @@ To restore Gitea:
### Long Term
* Implement CI/CD pipelines
* Deploy applications directly from Gitea
* Host private NuGet packages through BaGet
* Expand package publishing to additional repositories
---
@@ -346,6 +385,8 @@ To restore Gitea:
* Nginx Proxy Manager
* OpenProject
* Portainer
* BaGet
* Gitea Actions Runner
---
@@ -356,3 +397,4 @@ To restore Gitea:
* docs/secrets.md
* docs/backups.md
* postgres/README.md
* docs/cicd.md