fix: derive registry host from gitea.server_url instead of unset variable
Some checks failed
Build and Deploy / build-and-push (push) Failing after 1m7s
Some checks failed
Build and Deploy / build-and-push (push) Failing after 1m7s
REGISTRY_URL var was empty so docker login fell through to Docker Hub. Now strips protocol from gitea.server_url to get the registry hostname — no manual variable needed. docker-compose defaults to the known host. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -122,10 +122,11 @@ The pipeline is defined at [`.gitea/workflows/deploy.yml`](.gitea/workflows/depl
|
||||
|
||||
| Type | Name | Value |
|
||||
|------|------|-------|
|
||||
| Variable | `REGISTRY_URL` | Your registry host, e.g. `gitea.example.com` |
|
||||
| Secret | `REGISTRY_TOKEN` | A Gitea access token with `package:write` scope |
|
||||
|
||||
Set these under **Repository → Settings → Actions → Variables / Secrets**.
|
||||
Set this under **Repository → Settings → Actions → Secrets**.
|
||||
|
||||
The registry host is derived automatically from `gitea.server_url` — no `REGISTRY_URL` variable needed.
|
||||
|
||||
#### Upstream remote
|
||||
|
||||
|
||||
Reference in New Issue
Block a user