Skip to content

Commit f406b17

Browse files
committed
Try running docker with script in azure
1 parent 37d4656 commit f406b17

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

Diff for: azure-pipelines.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,13 @@ jobs:
145145
tags: |
146146
manylinux-latest:latest
147147
buildContext: '$(Build.SourcesDirectory)'
148-
- script: mkdir -p ${BUILD_SOURCESDIRECTORY}/output
149-
- task: Docker@2
150-
displayName: Run Build in Docker
151-
inputs:
152-
command: run
153-
imageName: 'manylinux-latest:latest'
154-
options: >
155-
-v $(Build.SourcesDirectory)/output:/output
156-
arguments: /bin/bash -c "cp /work/build/src/mmseqs /output/"
148+
- script: |
149+
mkdir -p ${BUILD_SOURCESDIRECTORY}/output
150+
docker run --rm \
151+
-v ${BUILD_SOURCESDIRECTORY}/output:/output \
152+
manylinux-latest:latest \
153+
/bin/bash -c "cp /work/build/src/mmseqs /output/"
154+
displayName: Run Docker Container and Copy Binary
157155
- task: PublishPipelineArtifact@1
158156
inputs:
159157
targetPath: $(Build.SourcesDirectory)/output/mmseqs

0 commit comments

Comments
 (0)