improvement: workflow updated for git actions.

This commit is contained in:
2026-05-05 00:33:30 +03:30
parent d03ecdfc7c
commit 517ce0d5ba
2 changed files with 95 additions and 73 deletions

View File

@@ -86,6 +86,7 @@ Workflow file: **`.gitea/workflows/registry-build-deploy.yml`**.
- **Gitea Actions** enabled for the repository.
- A **self-hosted runner** (with Docker) registered to Gitea — the workflow uses `runs-on: self-hosted`.
- **Windows runners:** the workflow uses **PowerShell** (not Bash). Giteas runner was failing with `execvpe(/bin/bash) failed` when Bash was routed through WSL without a real `/bin/bash`. If your runner is **Linux**, switch `.gitea/workflows/registry-build-deploy.yml` to `defaults.run.shell: bash` and use Bash syntax instead.
- **Repository → Actions → Variables** (examples):
- `REGISTRY_HOST` — e.g. `178.131.50.201:3000`