Skip to content

Commit 2c364a3

Browse files
authored
Merge pull request #37 from OpenMined/madhava/release-issue
Fix Docker mounts for manylinux builds
2 parents b103661 + 01fc58c commit 2c364a3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
args: --release --out dist --interpreter ${{ matrix.py-interpreter }}
183183
sccache: "true"
184184
manylinux: ${{ matrix.manylinux }}
185-
docker-options: -v ${{ github.workspace }}/..:/parent:ro
185+
docker-options: -v ${{ github.workspace }}/../syft-crypto-core:${{ github.workspace }}/../syft-crypto-core:ro -v ${{ github.workspace }}/../syftbox:${{ github.workspace }}/../syftbox:ro
186186
before-script-linux: |
187187
# Install protoc in the manylinux container
188188
PROTOC_VERSION="28.3"
@@ -196,12 +196,6 @@ jobs:
196196
unzip -q protoc-${PROTOC_VERSION}-linux-${PROTOC_ARCH}.zip -d /usr/local
197197
rm protoc-${PROTOC_VERSION}-linux-${PROTOC_ARCH}.zip
198198
protoc --version
199-
# Create symlinks for sibling dependencies at root level
200-
# Cargo.toml in /io references ../syft-crypto-core which resolves to /syft-crypto-core
201-
echo "Setting up workspace dependencies in container..."
202-
ln -sf /parent/syft-crypto-core /syft-crypto-core
203-
ln -sf /parent/syftbox /syftbox
204-
ls -la /syft-crypto-core /syftbox
205199
206200
- name: Upload wheels
207201
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)