fix(ci): trigger image builds on every path the Dockerfile copies
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Multi-Context Image / build-and-push (push) Successful in 25s

The build filtered on api/** while the Dockerfile COPYs nine more paths, so
changes to mcp_server/, flows/, policies/, prompts/, scripts/,
task_flow_engine/, templates/, alembic.ini and — most seriously —
migrations/ merged to main without ever producing a new image.

A schema migration would not have shipped.

Refs CUST-WP-0067-T08

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
This commit is contained in:
tegwick 2026-08-24 23:00:57 +02:00
parent 6d04544368
commit 82212165f9

View file

@ -9,11 +9,24 @@ on:
push: push:
branches: branches:
- main - main
# Must list every path the Dockerfile COPYs, or a change ships to git
# without ever reaching the image. This previously covered only api/**,
# so edits to mcp_server/ and — more seriously — migrations/ produced no
# rebuild (CUST-WP-0067-T08).
paths: paths:
- ".forgejo/workflows/image.yaml" - ".forgejo/workflows/image.yaml"
- "Dockerfile" - "Dockerfile"
- "alembic.ini"
- "api/**" - "api/**"
- "flows/**"
- "mcp_server/**"
- "migrations/**"
- "policies/**"
- "prompts/**"
- "pyproject.toml" - "pyproject.toml"
- "scripts/**"
- "task_flow_engine/**"
- "templates/**"
- "uv.lock" - "uv.lock"
workflow_dispatch: workflow_dispatch: