Fix failing GH Action
This commit is contained in:
parent
cfbd037f79
commit
dd0aee081a
5 changed files with 38 additions and 9 deletions
10
test.sh
10
test.sh
|
@ -7,6 +7,16 @@ set -e
|
|||
# of the Docker Image that is to be used
|
||||
export IMAGE="${IMAGE-netboxcommunity/netbox:latest}"
|
||||
|
||||
if [ -z "${IMAGE}" ]; then
|
||||
echo "⚠️ No image defined"
|
||||
|
||||
if [ -z "${DEBUG}" ]; then
|
||||
exit 1;
|
||||
else
|
||||
echo "⚠️ Would 'exit 1' here, but DEBUG is '${DEBUG}'."
|
||||
fi
|
||||
fi
|
||||
|
||||
# The docker compose command to use
|
||||
doco="docker-compose -f docker-compose.test.yml"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue