Skip to content

ci: point the image builds at the real Dockerfile locations - #100

Merged
rennerdo30 merged 1 commit into
mainfrom
fix/docker-build-paths
Sep 5, 2026
Merged

ci: point the image builds at the real Dockerfile locations#100
rennerdo30 merged 1 commit into
mainfrom
fix/docker-build-paths

Conversation

@rennerdo30

Copy link
Copy Markdown
Owner

Second failure on main, uncovered by #98. With Backend Build and Frontend Quality green again, the Docker Build job ran for the first time in months — and failed instantly:

ERROR: failed to build: failed to solve: failed to read dockerfile:
open Dockerfile.kernel: no such file or directory

The workflow pointed at deploy/compose/Dockerfile.kernel and deploy/compose/Dockerfile.worker, but the repository only has:

deploy/docker/Dockerfile.kernel
deploy/docker/Dockerfile.ui
deploy/docker/Dockerfile.worker

deploy/compose/docker-compose.yml already uses the correct deploy/docker/... paths, so the workflow was simply out of step.

Why it stayed hidden

Docker Build is gated on github.event_name == 'push' && github.ref == 'refs/heads/main' and needs backend-build and frontend-quality. It is skipped on every pull request, and it was skipped on main too for as long as Frontend Quality was failing. It only became reachable once #98 landed.

Verification

The job cannot be exercised from a PR, so both images were built locally with the corrected paths:

docker build -f deploy/docker/Dockerfile.kernel -t webencode-kernel-test .   # succeeds
docker build -f deploy/docker/Dockerfile.worker -t webencode-worker-test .   # succeeds

The `Docker Build` job referenced `deploy/compose/Dockerfile.kernel` and
`deploy/compose/Dockerfile.worker`, but both files live in `deploy/docker/` -
the path `deploy/compose/docker-compose.yml` already uses. The job therefore
failed immediately:

    ERROR: failed to build: failed to solve: failed to read dockerfile:
    open Dockerfile.kernel: no such file or directory

It went unnoticed because the job only runs on pushes to main and needs
`backend-build` and `frontend-quality` first, so it was skipped for as long as
those were red.

Both images were built locally from these paths to confirm they succeed.
@rennerdo30
rennerdo30 merged commit 65933ba into main Sep 5, 2026
6 checks passed
@rennerdo30
rennerdo30 deleted the fix/docker-build-paths branch September 5, 2026 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant