Make sure we wait for stack on the right host
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2020-09-28 00:42:49 +02:00
parent cc16850b1c
commit 6db9058c62
1 changed files with 3 additions and 1 deletions

View File

@ -67,9 +67,11 @@ run_stack_deploy() {
}
run_stack_wait() {
docker -H "$REMOTE_DOCKER_HOST" run --rm vitalets/docker-stack-wait-deploy \
export DOCKER_HOST="$REMOTE_DOCKER_HOST"
docker run --rm vitalets/docker-stack-wait-deploy \
| sed 's/True/true/' \
| bash /dev/stdin "$PLUGIN_STACK"
unset DOCKER_HOST
}
run_purge() {