From 0edd15a046e85831d4dd46d4116e088b6998c9c9 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Wed, 7 Aug 2024 08:48:52 -0700 Subject: [PATCH] Switch to docker compose (#311) * Switch to docker compose --- .github/actions/docker-compose/action.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/actions/docker-compose/action.yml b/.github/actions/docker-compose/action.yml index 86dc9bbf..73c6dd92 100644 --- a/.github/actions/docker-compose/action.yml +++ b/.github/actions/docker-compose/action.yml @@ -26,23 +26,19 @@ runs: username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ env.DOCKERHUB_TOKEN }} - - uses: KengoTODA/actions-setup-docker-compose@main - with: - version: '2.12.1' - - name: Create default network if: inputs.CREATE_NETWORK == 'true' run: docker network create signalwire_freeswitch shell: bash - - name: Run docker-compose + - name: Run docker compose if: inputs.RUN_BACKGROUND == 'false' - run: docker-compose -f ${{ inputs.COMPOSE_FILE }} up + run: docker compose -f ${{ inputs.COMPOSE_FILE }} up shell: bash - - name: Run docker-compose in background + - name: Run docker compose in background if: inputs.RUN_BACKGROUND == 'true' - run: docker-compose -f ${{ inputs.COMPOSE_FILE }} up -d + run: docker compose -f ${{ inputs.COMPOSE_FILE }} up -d shell: bash # - uses: isbang/compose-action@v1.4.1 # if: inputs.RUN_BACKGROUND == 'true'