Skip to content

Commit

Permalink
Replace the docker@2 task with a direct docker call
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jan 8, 2025
1 parent f406b17 commit db8ad2d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,22 +137,16 @@ jobs:
steps:
- checkout: self
submodules: false
- task: Docker@2
displayName: Build Docker Image
inputs:
command: build
dockerfile: '.github/workflows/Dockerfile.GPU-manylinux2014'
tags: |
manylinux-latest:latest
buildContext: '$(Build.SourcesDirectory)'
- script: |
mkdir -p ${BUILD_SOURCESDIRECTORY}/output
docker build -t manylinux-builder \
-f .github/workflows/Dockerfile.GPU-manylinux2014 .
docker run --rm \
-v ${BUILD_SOURCESDIRECTORY}/output:/output \
manylinux-latest:latest \
manylinux-builder \
/bin/bash -c "cp /work/build/src/mmseqs /output/"
displayName: Run Docker Container and Copy Binary
- task: PublishPipelineArtifact@1
- task: PublishPipelineArtifact@0
inputs:
targetPath: $(Build.SourcesDirectory)/output/mmseqs
artifactName: mmseqs-linux-gpu
Expand Down

0 comments on commit db8ad2d

Please sign in to comment.