wrap "docker compose" command in quotes
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing

This commit is contained in:
Alex Hafner 2022-05-19 12:28:39 +01:00 committed by GitHub
parent 71cd8ff86a
commit f16a4574c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ set -e
if command -v docker-compose &> /dev/null ; then if command -v docker-compose &> /dev/null ; then
COMPOSE=docker-compose COMPOSE=docker-compose
elif command -v docker &> /dev/null && docker help compose &> /dev/null; then elif command -v docker &> /dev/null && docker help compose &> /dev/null; then
COMPOSE=docker compose COMPOSE="docker compose"
else else
echo "ERROR: Neither 'docker-compose' or 'docker compose' were found" echo "ERROR: Neither 'docker-compose' or 'docker compose' were found"
exit 1 exit 1