Context
CI runs fmt, clippy, and tests but never validates that production Docker images build successfully.
Problem
Dockerfile regressions (missing COPY paths, broken cargo targets) can reach main undetected until deploy time on Render.
Proposed scope
- Extend
.github/workflows/ci.yml with a docker job
- Build
Dockerfile.gateway and Dockerfile.api on every PR
- Fail CI if either image build fails
Acceptance criteria
References
.github/workflows/ci.yml
Dockerfile.gateway
Dockerfile.api
render.yaml
Context
CI runs fmt, clippy, and tests but never validates that production Docker images build successfully.
Problem
Dockerfile regressions (missing COPY paths, broken cargo targets) can reach
mainundetected until deploy time on Render.Proposed scope
.github/workflows/ci.ymlwith adockerjobDockerfile.gatewayandDockerfile.apion every PRAcceptance criteria
mainand on pull requestsReferences
.github/workflows/ci.ymlDockerfile.gatewayDockerfile.apirender.yaml