diff --git a/.github/workflows/docker_workflow.yml b/.github/workflows/docker_workflow.yml index 4e30748b..fa88d814 100644 --- a/.github/workflows/docker_workflow.yml +++ b/.github/workflows/docker_workflow.yml @@ -80,28 +80,25 @@ jobs: with: python-version: "3.9" - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + - name: Check out code + id: co_code + if: steps.setup_python.outcome == 'success' + uses: actions/checkout@v4 - name: Set up Docker id: docker_env_setup - if: steps.validate_input.outcome == 'success' + if: steps.co_code.outcome == 'success' uses: docker/setup-buildx-action@v3 - name: Build and start Docker Compose services id: docker_compose if: steps.docker_env_setup.outcome == 'success' run: | - find * | awk '{print length "\t" $0}' docker-compose.yml + docker compose --file docker-compose.yml up -d - name: Wait for services to start run: sleep 30 - - name: Check out code - id: co_code - if: steps.docker_compose.outcome == 'success' - uses: actions/checkout@v4 - - name: Setup dependencies run: | sh install.sh @@ -158,25 +155,25 @@ jobs: with: python-version: "3.9" + - name: Check out code + id: co_code + if: steps.setup_python.outcome == 'success' + uses: actions/checkout@v4 + - name: Set up Docker id: docker_env_setup - if: steps.setup_python.outcome == 'success' + if: steps.co_code.outcome == 'success' uses: docker/setup-buildx-action@v3 - name: Build and start Docker Compose services id: docker_compose if: steps.docker_env_setup.outcome == 'success' run: | - sudo docker compose --file docker-compose.yaml up -d + docker compose --file docker-compose.yml up -d - name: Wait for services to start run: sleep 30 - - name: Check out code - id: co_code - if: steps.docker_compose.outcome == 'success' - uses: actions/checkout@v4 - - name: Setup dependencies id: setup_dependencies if: steps.docker_compose.outcome == 'success' diff --git a/docker-compose.yml b/docker-compose.yml old mode 100644 new mode 100755