Problem: Docker/container registries require lowercase image names, but
Gitea CI variables may contain uppercase letters (e.g., repo name)
Solution:
- Use `tr '[:upper:]' '[:lower:]'` to convert $CI_REGISTRY_IMAGE to lowercase
- Convert $CI_COMMIT_REF_NAME (branch name) to lowercase as well
- Apply conversion in both build and deploy stages
- Also fixed deploy stage to use 'app.image' instead of 'api.image' (unified architecture)
This allows using the repo with any case without needing to rename it.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>