Skip to content

Commit

Permalink
Improve the wait command
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-douglass committed Mar 30, 2020
1 parent b30b998 commit 4f335f5
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 search assemblyline-core 2>&1 | grep -q "assemblyline-core ($TAG)"; do sleep 2; done
until sudo python3 -m pip download "assemblyline-core==$TAG" &> /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 4f335f5

Please sign in to comment.