ci: add Docker CI workflows and switch to pre-built image
Some checks failed
Build and Push Docker Image (Gitea) / build-and-push (push) Has been cancelled

- Add GitHub Actions workflow to build and push Docker image to GitHub Container Registry
- Add Gitea workflow for building and pushing Docker image to private registry
- Update docker-compose.yml to use pre-built image instead of local build
This commit is contained in:
Jp
2026-01-30 15:38:11 +08:00
parent 656a510c73
commit 4f58622b22
3 changed files with 98 additions and 2 deletions

View File

@@ -2,8 +2,7 @@ version: '3.8'
services:
calorie-tracker:
build:
context: ./calorie_tracker_app
image: 192.168.100.105:3002/kingjaypee12/calorie-tracker:latest
container_name: calorie-tracker
restart: unless-stopped
ports: