Skip to content

Commit

Permalink
Azure pipeline: Improve the wait command more
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-douglass committed Mar 30, 2020
1 parent 4f335f5 commit 5ce6b7f
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" &> /dev/null; do sleep 2; done
until sudo python3 -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 5ce6b7f

Please sign in to comment.