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

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:
2026-04-04 01:05:50 -04:00
parent 4118d31df8
commit a2b59b2f8d
3 changed files with 13 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
services:
web:
image: ${REGISTRY_URL}/josh/sixflagssupercalendar:latest
image: ${REGISTRY_URL:-gitea.thewrightserver.net}/josh/sixflagssupercalendar:latest
build:
context: .
dockerfile: Dockerfile