Skip to content

Commit

Permalink
Try running docker with script in azure
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jan 8, 2025
1 parent 37d4656 commit f406b17
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,13 @@ jobs:
tags: |
manylinux-latest:latest
buildContext: '$(Build.SourcesDirectory)'
- script: mkdir -p ${BUILD_SOURCESDIRECTORY}/output
- task: Docker@2
displayName: Run Build in Docker
inputs:
command: run
imageName: 'manylinux-latest:latest'
options: >
-v $(Build.SourcesDirectory)/output:/output
arguments: /bin/bash -c "cp /work/build/src/mmseqs /output/"
- script: |
mkdir -p ${BUILD_SOURCESDIRECTORY}/output
docker run --rm \
-v ${BUILD_SOURCESDIRECTORY}/output:/output \
manylinux-latest:latest \
/bin/bash -c "cp /work/build/src/mmseqs /output/"
displayName: Run Docker Container and Copy Binary
- task: PublishPipelineArtifact@1
inputs:
targetPath: $(Build.SourcesDirectory)/output/mmseqs
Expand Down

0 comments on commit f406b17

Please sign in to comment.