From 0fa6aa5b4f0cdcfb53b3cf4339e8064e46c0f426 Mon Sep 17 00:00:00 2001 From: Yuichi Motoyama Date: Mon, 5 Aug 2024 17:02:19 +0900 Subject: [PATCH] docker-compose seems not to work (deprecated?) --- .github/workflows/ci.yml | 2 +- .github/workflows/examples.yml | 2 +- .github/workflows/examples_dcorelib.yml | 2 +- bin/deploy_examples.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c04a134..d32fc791 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,5 +16,5 @@ jobs: export LOCAL_GID=$(id -g $USER) echo "LOCAL_UID=${LOCAL_UID}" > .env echo "LOCAL_GID=${LOCAL_GID}" >> .env - docker-compose up -d dcoretest + docker compose up -d dcoretest - run: echo "This job's status is ${{ job.status }}." diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 45331838..31ba8245 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -39,7 +39,7 @@ jobs: export LOCAL_GID=$(id -g $USER) echo "LOCAL_UID=${LOCAL_UID}" > .env echo "LOCAL_GID=${LOCAL_GID}" >> .env - docker-compose up -d examples + docker compose up -d examples # Manually execute entrypoint script until the environmet is set up correctly docker exec examples-container bash -c '/entrypoint-examples.sh' docker exec examples-container bash -c 'cd examples; ls -l' diff --git a/.github/workflows/examples_dcorelib.yml b/.github/workflows/examples_dcorelib.yml index ed12384b..0192b04d 100644 --- a/.github/workflows/examples_dcorelib.yml +++ b/.github/workflows/examples_dcorelib.yml @@ -39,7 +39,7 @@ jobs: export LOCAL_GID=$(id -g $USER) echo "LOCAL_UID=${LOCAL_UID}" > .env echo "LOCAL_GID=${LOCAL_GID}" >> .env - docker-compose up -d examples + docker compose up -d examples # Manually execute entrypoint script until the environmet is set up correctly docker exec examples-container bash -c '/entrypoint-examples.sh' docker exec examples-container bash -c 'cd examples; ls -l' diff --git a/bin/deploy_examples.sh b/bin/deploy_examples.sh index 10a4c3a5..8ce81edc 100755 --- a/bin/deploy_examples.sh +++ b/bin/deploy_examples.sh @@ -1 +1 @@ -docker-compose up --build --force-recreate examples +docker compose up --build --force-recreate examples