Add automatic repository owner to image naming
- Use github.repository_owner in workflow - Image format: REGISTRY_URL/owner/APP_NAME:latest - Works automatically with Gitea registry - Template-friendly: forks use their own owner - Update documentation with new format
This commit is contained in:
@@ -10,7 +10,10 @@
|
||||
# REGISTRY & DEPLOYMENT
|
||||
# ===========================================
|
||||
# URL del registro Docker (sin http:// ni https://)
|
||||
REGISTRY_URL=registry.ejemplo.com
|
||||
# Para registry de Gitea: gitea.ejemplo.com
|
||||
# El owner del repositorio se agrega automáticamente en el workflow
|
||||
# Imagen final: REGISTRY_URL/owner/APP_NAME:latest
|
||||
REGISTRY_URL=gitea.ejemplo.com
|
||||
|
||||
# Nombre de la aplicación (usado para container, imagen, y labels de Traefik)
|
||||
APP_NAME=mi-app
|
||||
|
||||
Reference in New Issue
Block a user