fix(ci): build docker images on frontend-only master pushes

the docker workflow chained off the backend workflow only, and backend has a
backend/** path filter. master pushes touching just frontend/apps or the docker
files never triggered docker.yml, so no master image was published and
remark42.com was not redeployed. broken since the build workflow was split in
#1977.

listen to workflow_run from both backend and frontend, and add Dockerfile,
docker-init.sh and .dockerignore to the backend workflow paths to restore the
path coverage the old build workflow had.
This commit is contained in:
Umputun
2026-07-09 20:03:26 -05:00
parent a8dd527c45
commit 3e63d72852
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -7,6 +7,9 @@ on:
paths:
- ".github/workflows/ci-backend.yml"
- "backend/**"
- "Dockerfile"
- "docker-init.sh"
- ".dockerignore"
- "!backend/scripts/**"
- "!**.md"
pull_request:
@@ -14,6 +17,9 @@ on:
paths:
- ".github/workflows/ci-backend.yml"
- "backend/**"
- "Dockerfile"
- "docker-init.sh"
- ".dockerignore"
- "!backend/scripts/**"
- "!**.md"
+1 -1
View File
@@ -2,7 +2,7 @@ name: docker
on:
workflow_run:
workflows: [backend]
workflows: [backend, frontend]
types: [completed]
concurrency: