fix: copy crates/ into the prod OCI build context #9

Merged
vas2000-work merged 1 commit from fix/oci-build-copies-crates into main 2026-05-07 01:57:33 +02:00
Owner

Forgejo Actions' "Build and push mokosh-api image" workflow started failing after the OAuth branch added a workspace member at crates/google-oauth-flow/:

error: failed to load manifest for workspace member /build/crates/google-oauth-flow
failed to read /build/crates/google-oauth-flow/Cargo.toml (No such file or directory)

The dev Dockerfile was patched on the OAuth branch to copy ./crates (and the dev compose mounts it as a volume), but oci-build/Dockerfile (the prod build) was missed. Add the same COPY crates ./crates step before the cargo build.

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

Forgejo Actions' "Build and push mokosh-api image" workflow started failing after the OAuth branch added a workspace member at `crates/google-oauth-flow/`: error: failed to load manifest for workspace member `/build/crates/google-oauth-flow` failed to read `/build/crates/google-oauth-flow/Cargo.toml` (No such file or directory) The dev `Dockerfile` was patched on the OAuth branch to copy `./crates` (and the dev compose mounts it as a volume), but `oci-build/Dockerfile` (the prod build) was missed. Add the same `COPY crates ./crates` step before the cargo build. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
fix: copy crates/ into the prod OCI build context
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
5b2736b59d
Forgejo Actions' "Build and push mokosh-api image" workflow started failing after the OAuth branch added a workspace member at `crates/google-oauth-flow/`:

  error: failed to load manifest for workspace member `/build/crates/google-oauth-flow`
  failed to read `/build/crates/google-oauth-flow/Cargo.toml` (No such file or directory)

The dev `Dockerfile` was patched on the OAuth branch to copy `./crates` (and the dev compose mounts it as a volume), but `oci-build/Dockerfile` (the prod build) was missed. Add the same `COPY crates ./crates` step before the cargo build.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
vas2000-work deleted branch fix/oci-build-copies-crates 2026-05-07 01:57:33 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!9
No description provided.