Ship Node production images, Unraid compose, and Gitea CI/CD (test then push registry images; cron script if no runner). Rebuild dealer flow as a heatmap-first map with integrity gates and chart helpers. Add confluence zone rules, session clock, capture evidence, and tighter 13F/queue/options paths, plus the matching UI and tests.
55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
# Manual image rebuild. The automatic path is the `images` job in ci.yml
|
|
# (runs after tests on push to main). Keep this for "rebuild without a new commit".
|
|
|
|
name: CD
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
images:
|
|
name: Build and push
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
REGISTRY: ${{ vars.REGISTRY || '10.37.0.86:3003' }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
with:
|
|
config-inline: |
|
|
[registry."10.37.0.86:3003"]
|
|
http = true
|
|
insecure = true
|
|
[registry."unraid.local:3003"]
|
|
http = true
|
|
insecure = true
|
|
|
|
- name: Log in to Gitea registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ${{ env.REGISTRY }}
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.REGISTRY_TOKEN || github.token }}
|
|
|
|
- name: Backend image
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: ./app/server
|
|
file: ./app/server/Dockerfile
|
|
push: true
|
|
tags: |
|
|
${{ env.REGISTRY }}/transnet/investor-flow-backend:${{ github.sha }}
|
|
${{ env.REGISTRY }}/transnet/investor-flow-backend:latest
|
|
|
|
- name: Frontend image
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: ./app
|
|
file: ./app/Dockerfile
|
|
push: true
|
|
tags: |
|
|
${{ env.REGISTRY }}/transnet/investor-flow-frontend:${{ github.sha }}
|
|
${{ env.REGISTRY }}/transnet/investor-flow-frontend:latest
|