Introduce new CI/CD flow#3
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 29eebc5be7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| RUN adduser -D backend | ||
|
|
||
| COPY --from=builder /workspace/services/backend/target/release/backend /usr/local/bin/backend | ||
| COPY --from=builder /workspace/services/backend/target/release/central-backend /usr/local/bin/central-backend |
There was a problem hiding this comment.
Copy the actual backend binary
The release build still produces target/release/backend because services/backend/Cargo.toml keeps package.name = "backend" and no [[bin]] overrides are added. With this path changed to central-backend, docker build --file services/backend/Dockerfile . fails at the final-stage COPY, so the new CI image build and any production backend image publish cannot complete.
Useful? React with 👍 / 👎.
29eebc5 to
d95cfd4
Compare
54e0c09 to
d7a9786
Compare
No description provided.