Commit graph

23 commits

Author SHA1 Message Date
JakkrapartXD
e7a2ac8b5a feat: convert workflows to tag-based deployment with semantic versioning
- Replace branch triggers with tag triggers for all services
- Backend: backend-dev-v1.0.0
- Learner: learner-dev-v1.0.0
- Management: management-dev-v1.0.0
- Extract version from tags and use for Docker image tagging
- Update compose.yaml to use GITEA_INSTANCE variable
- Add comprehensive deployment guide (DEPLOYMENT.md)
- Support pre-release tags (beta, rc, alpha)

BREAKING CHANGE: Pushing to dev branch no longer triggers deployment.
Must create and push version tags to deploy.
2026-02-11 10:20:35 +07:00
JakkrapartXD
0691ca40cd feat: Implement short SHA for backend image tagging and deployment, and refine image tag resolution for pull requests.
All checks were successful
Build and Deploy Backend / Build Backend Docker Image (push) Successful in 20s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Successful in 3s
Build and Deploy Backend / Notify Deployment Status (push) Successful in 2s
2026-02-10 14:00:50 +07:00
JakkrapartXD
3322801803 build: include image tag in Docker metadata action image name 2026-02-10 14:00:50 +07:00
JakkrapartXD
0004b03760 ci: Update backend image name to chamomind/elearning-backend in the deploy workflow.
All checks were successful
Build and Deploy Backend / Build Backend Docker Image (push) Successful in 15s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Successful in 2s
Build and Deploy Backend / Notify Deployment Status (push) Successful in 2s
2026-02-10 13:28:43 +07:00
JakkrapartXD
ec0a96aec9 fix: correct backend image name to match docker-compose
Some checks failed
Build and Deploy Backend / Build Backend Docker Image (push) Failing after 41s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Has been skipped
Build and Deploy Backend / Notify Deployment Status (push) Failing after 1s
- Change BACKEND_IMAGE_NAME from chamomind/elearning-backend to elearning-backend
- Fixes manifest unknown error during deployment
- Image will now be pushed as 192.168.1.60/elearning-backend:<tag>
2026-02-10 13:25:37 +07:00
JakkrapartXD
be2d73b361 refactor: update deploy script argument from 'elearning-backend' to 'backend'
All checks were successful
Build and Deploy Backend / Build Backend Docker Image (push) Successful in 15s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Successful in 2s
Build and Deploy Backend / Notify Deployment Status (push) Successful in 1s
2026-02-10 13:21:47 +07:00
a0cd688c97 remove test
All checks were successful
Build and Deploy Backend / Build Backend Docker Image (push) Successful in 16s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Successful in 2s
Build and Deploy Backend / Notify Deployment Status (push) Successful in 1s
2026-02-10 11:52:10 +07:00
6342f81215 remove push
Some checks failed
Build and Deploy Backend / Build Backend Docker Image (push) Failing after 16s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Has been skipped
Build and Deploy Backend / Notify Deployment Status (push) Failing after 1s
2026-02-10 11:49:48 +07:00
60c31e1dd8 fix github action cache
Some checks failed
Build and Deploy Backend / Build Backend Docker Image (push) Failing after 16s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Has been skipped
Build and Deploy Backend / Notify Deployment Status (push) Failing after 1s
2026-02-10 11:44:50 +07:00
22f1c70f20 fix build
Some checks failed
Build and Deploy Backend / Build Backend Docker Image (push) Failing after 1m42s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Has been skipped
Build and Deploy Backend / Notify Deployment Status (push) Failing after 1s
2026-02-10 11:32:43 +07:00
f01b9054b5 fix parameter
Some checks failed
Build and Deploy Backend / Build Backend Docker Image (push) Failing after 8s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Has been skipped
Build and Deploy Backend / Notify Deployment Status (push) Failing after 1s
2026-02-10 11:24:33 +07:00
c35f4ce688 fix build
Some checks failed
Build and Deploy Backend / Build Backend Docker Image (push) Failing after 5s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Has been skipped
Build and Deploy Backend / Notify Deployment Status (push) Failing after 1s
2026-02-10 11:22:52 +07:00
fa5993147b fix build action
Some checks failed
Build and Deploy Backend / Build Backend Docker Image (push) Failing after 1m41s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Has been skipped
Build and Deploy Backend / Notify Deployment Status (push) Failing after 1s
2026-02-10 11:16:48 +07:00
94f90d3c7f fix build 2026-02-10 11:16:01 +07:00
JakkrapartXD
f4fa63fd11 remove port 5000 2026-02-10 10:06:46 +07:00
JakkrapartXD
1ac97fd78b Update backend deployment workflow to append port 5000 to container registry URL 2026-02-10 10:03:17 +07:00
JakkrapartXD
8fe02435a3 Update backend deployment workflow to enable insecure HTTP registry configuration in Buildx setup 2026-02-10 09:58:11 +07:00
JakkrapartXD
26854dc4a1 Refactor backend deployment workflow to use environment variables for registry configuration and update deployment conditions to target dev branch 2026-02-10 09:53:54 +07:00
JakkrapartXD
337e97128d Configure insecure HTTP registry for Docker Buildx in frontend deployment workflows and update backend registry configuration 2026-02-10 09:41:22 +07:00
b51a7546e4 Update .forgejo/workflows/deploy-backend.yaml 2026-02-09 17:40:08 +07:00
JakkrapartXD
4b016b07cd Move insecure registry configuration from Docker login and build steps to Buildx setup in backend deployment workflow
Some checks failed
Build and Deploy Frontend Learner / Build Frontend Learner Docker Image (push) Failing after 8s
Build and Deploy Frontend Learner / Deploy Frontend Learner to Server (push) Has been skipped
2026-02-09 17:32:04 +07:00
JakkrapartXD
a54251f11e Add insecure option to Docker build steps in all deployment workflows 2026-02-09 17:26:05 +07:00
JakkrapartXD
0f79a18686 Remove deployment workflows for backend, frontend learner, and frontend management 2026-02-09 17:17:04 +07:00
Renamed from .forgejo/workflows/deploy-backend.yml (Browse further)