Skip to content

Commit

Permalink
ci(docker): modify docker testing script
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Oct 29, 2024
1 parent 3b422ad commit 14e98a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/workflow/test-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ if [[ $? -ne 0 ]]; then
exit 1
fi

docker-compose -v
docker compose -v

if [[ $? -ne 0 ]]; then
echo "failed to run docker-compose"
echo "failed to run docker compose"
exit 1
fi

Expand All @@ -30,7 +30,7 @@ curl https://raw.githubusercontent.com/mogland/core/main/docker-compose.yml > do
touch env.yaml


docker-compose up -d
docker compose up -d

if [[ $? -ne 0 ]]; then
echo "failed to run docker-compose instance"
Expand Down

0 comments on commit 14e98a2

Please sign in to comment.