Switch to Brian's registry at 192.168.86.11:30095, add CI build+push+deploy jobs

- All services pull from 192.168.86.11:30095 instead of localhost:5000
- Removed self-hosted registry container (Brian runs his own)
- CI workflows: test → build → push to registry → deploy
- build-push.sh and watch-loop.sh updated with new registry address
This commit is contained in:
2026-03-02 05:28:35 +00:00
parent 1ea42bbb87
commit 6b79d3cbc9
8 changed files with 83 additions and 17 deletions

View File

@@ -24,3 +24,18 @@ jobs:
- name: Test
run: cd $GITHUB_WORKSPACE/products/05-aws-cost-anomaly && npm test
build-push:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
run: git clone --depth=1 http://192.168.86.11:3005/jarvis/dd0c.git $GITHUB_WORKSPACE || true
- name: Build and push
run: |
cd $GITHUB_WORKSPACE/products
docker build -t 192.168.86.11:30095/dd0c-cost:latest ./05-aws-cost-anomaly
docker push 192.168.86.11:30095/dd0c-cost:latest
- name: Deploy
run: cd $GITHUB_WORKSPACE/products && docker compose pull cost && docker compose up -d cost