Fix docker argument order
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Fixes #5
This commit is contained in:
parent
e9cf7313bf
commit
1c43771400
|
@ -76,7 +76,7 @@ run_cleanup() {
|
||||||
until [ -z "$(docker stack ps "$PLUGIN_STACK" -q)" ]; do sleep 1; done
|
until [ -z "$(docker stack ps "$PLUGIN_STACK" -q)" ]; do sleep 1; done
|
||||||
docker -H "$DOCKER_HOST" system prune --all --volumes --force
|
docker -H "$DOCKER_HOST" system prune --all --volumes --force
|
||||||
# try and remove all secrets; Docker will leave ones which are in use
|
# try and remove all secrets; Docker will leave ones which are in use
|
||||||
docker -H "$DOCKER_HOST" secret ls --format '{{ .Name }}' | xargs -i sh -c "echo {}; docker secret -H \"$DOCKER_HOST\" rm {} || true"
|
docker -H "$DOCKER_HOST" secret ls --format '{{ .Name }}' | xargs -i sh -c "echo {}; docker -H \"$DOCKER_HOST\" secret rm {} || true"
|
||||||
echo "--- end cleanup ---"
|
echo "--- end cleanup ---"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue