Skip to content

Commit db8ad2d

Browse files
committed
Replace the docker@2 task with a direct docker call
1 parent f406b17 commit db8ad2d

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -137,22 +137,16 @@ jobs:
137137
steps:
138138
- checkout: self
139139
submodules: false
140-
- task: Docker@2
141-
displayName: Build Docker Image
142-
inputs:
143-
command: build
144-
dockerfile: '.github/workflows/Dockerfile.GPU-manylinux2014'
145-
tags: |
146-
manylinux-latest:latest
147-
buildContext: '$(Build.SourcesDirectory)'
148140
- script: |
149141
mkdir -p ${BUILD_SOURCESDIRECTORY}/output
142+
docker build -t manylinux-builder \
143+
-f .github/workflows/Dockerfile.GPU-manylinux2014 .
150144
docker run --rm \
151145
-v ${BUILD_SOURCESDIRECTORY}/output:/output \
152-
manylinux-latest:latest \
146+
manylinux-builder \
153147
/bin/bash -c "cp /work/build/src/mmseqs /output/"
154148
displayName: Run Docker Container and Copy Binary
155-
- task: PublishPipelineArtifact@1
149+
- task: PublishPipelineArtifact@0
156150
inputs:
157151
targetPath: $(Build.SourcesDirectory)/output/mmseqs
158152
artifactName: mmseqs-linux-gpu

0 commit comments

Comments
 (0)