Add automatic repository owner to image naming
All checks were successful
build-and-deploy / build (push) Successful in 14s
build-and-deploy / deploy (push) Successful in 2s

- 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:
2025-10-12 22:19:20 -06:00
parent 7120d723ad
commit 0f7abc6d48
4 changed files with 13 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ version: '3.8'
services:
app:
image: ${REG}/${APP_NAME}:latest
image: ${REG}/${REPO_OWNER}/${APP_NAME}:latest
container_name: ${APP_NAME}
restart: unless-stopped
environment: