Skip to content

Commit

Permalink
Azure pipeline: Try to fix pip download command
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-douglass committed Mar 30, 2020
1 parent 5ce6b7f commit 8b528aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/azure-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ stages:
- script: |
set -xv # Echo commands before they are run
export TAG=${BUILD_SOURCEBRANCH#"refs/tags/v"}
until sudo python3 -m pip download "assemblyline-core==$TAG" --pre --no-deps &> /dev/null; do sleep 2; done
until sudo env "PATH=$PATH" python -m pip download "assemblyline-core==$TAG" --pre --no-deps &> /dev/null; do sleep 2; done
docker build --build-arg version=$TAG -t cccs/assemblyline-core:$TAG -t cccs/assemblyline-core:latest deployment
docker push cccs/assemblyline-core
displayName: Deploy to Docker Hub

0 comments on commit 8b528aa

Please sign in to comment.