Skip to content

Fix CI: maturin Docker access to sibling dependencies#32

Merged
madhavajay merged 1 commit intomainfrom
madhava/repo
Jan 7, 2026
Merged

Fix CI: maturin Docker access to sibling dependencies#32
madhavajay merged 1 commit intomainfrom
madhava/repo

Conversation

@madhavajay
Copy link
Copy Markdown
Contributor

Summary

  • Add docker-options to mount parent directory at /parent in maturin action
  • Create symlinks in container from /syft-crypto-core -> /parent/syft-crypto-core
  • Fixes release workflow failing with: failed to read '/home/runner/work/syftbox-sdk/syft-crypto-core/protocol/Cargo.toml'

Context

The maturin-action Docker container only mounts the repo directory. Cargo.toml references ../syft-crypto-core which is a sibling. By mounting the parent and creating symlinks, the paths resolve correctly inside the container.

Test plan

  • Release workflow completes successfully

- Add docker-options to mount parent directory at /parent
- Create symlinks in container from /syft-crypto-core -> /parent/syft-crypto-core
- Cargo.toml expects ../syft-crypto-core which resolves to /syft-crypto-core in container
@madhavajay madhavajay merged commit 7917572 into main Jan 7, 2026
4 checks passed
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