🚀 ci: add todo-backend and todo-web to CI/CD pipeline

- Add Dockerfile and entrypoint for todo-backend
- Add todo-backend and todo-web services to docker-compose.staging.yml
- Add todo to cd-staging-tagged.yml workflow options and port mappings
- Add todo-backend and todo-web to ci-main.yml build matrix
- Enable CI builds on dev branch (staging deployments)
- Fix workflow bug: add --force-recreate to handle stale containers
This commit is contained in:
Wuesteon 2025-12-09 15:52:48 +01:00
parent 3808f2951d
commit 3cf0a43cf3
5 changed files with 148 additions and 1 deletions

View file

@ -9,6 +9,7 @@ on:
push:
branches:
- main
- dev
workflow_dispatch:
concurrency:
@ -26,6 +27,8 @@ jobs:
- { name: 'mana-core-auth', path: 'services/mana-core-auth', port: '3001' }
- { name: 'chat-backend', path: 'apps/chat/apps/backend', port: '3002' }
- { name: 'chat-web', path: 'apps/chat/apps/web', port: '3000' }
- { name: 'todo-backend', path: 'apps/todo/apps/backend', port: '3018' }
- { name: 'todo-web', path: 'apps/todo/apps/web', port: '5188' }
fail-fast: false
steps:
- name: Checkout code