Docs: add Gitea instructions for CI secrets
Build and Push Docker Image / build-and-push (push) Has been cancelled
Build and Push Docker Image / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -215,6 +215,17 @@ Wie du die Secrets hinterlegst:
|
|||||||
- GitHub: Repository → Settings → Secrets and variables → Actions → `New repository secret`.
|
- GitHub: Repository → Settings → Secrets and variables → Actions → `New repository secret`.
|
||||||
- Gitea: Repository → Settings → Secrets (oder CI/CD variables) — je nach Installation.
|
- Gitea: Repository → Settings → Secrets (oder CI/CD variables) — je nach Installation.
|
||||||
|
|
||||||
|
Gitea-spezifische Anleitung:
|
||||||
|
|
||||||
|
1. Melde dich in eurem Gitea an und öffne das gewünschte Repository.
|
||||||
|
2. Gehe zu `Settings` → `Secrets` (bei älteren Versionen: `Settings` → `CI/CD` oder `Settings` → `Deploy Keys/Variables`).
|
||||||
|
3. Klicke auf `Add New Secret` oder `New Variable` und lege folgende Secrets an:
|
||||||
|
- `DOCKER_USERNAME` — dein Registry-Benutzername
|
||||||
|
- `DOCKER_PASSWORD` — dein Registry-Passwort
|
||||||
|
4. Speichere die Secrets. Der Workflow liest diese Variablen während des Builds.
|
||||||
|
|
||||||
|
Hinweis: Manche Gitea-Instanzen erlauben keine Actions-Workflows. Falls eure Installation Actions nicht unterstützt, nutze einen externen CI-Server (z. B. GitHub Actions, GitLab CI, Drone) oder richte ein serverseitiges Deploy-Skript via SSH/Ansible auf dem Zielhost ein.
|
||||||
|
|
||||||
Hinweis: Trage niemals Zugangsdaten im Quellcode oder in öffentlichen Dateien ein. Verwende Repository-Secrets oder sichere CI-Variablen.
|
Hinweis: Trage niemals Zugangsdaten im Quellcode oder in öffentlichen Dateien ein. Verwende Repository-Secrets oder sichere CI-Variablen.
|
||||||
|
|
||||||
Optionales manuelles Deploy (falls Docker lokal verfügbar):
|
Optionales manuelles Deploy (falls Docker lokal verfügbar):
|
||||||
|
|||||||
Reference in New Issue
Block a user