From 14e98a288e4c0c94621e3809806bab8be7fee53c Mon Sep 17 00:00:00 2001 From: wibus-wee <1596355173@qq.com> Date: Tue, 29 Oct 2024 13:29:03 +0800 Subject: [PATCH] ci(docker): modify docker testing script --- scripts/workflow/test-docker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/workflow/test-docker.sh b/scripts/workflow/test-docker.sh index 69b18e2af..34ddf1e6c 100644 --- a/scripts/workflow/test-docker.sh +++ b/scripts/workflow/test-docker.sh @@ -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 @@ -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"