Skip to content

Commit

Permalink
Switch to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Aug 7, 2024
1 parent c5b1286 commit d21dc55
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/actions/docker-compose/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
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/[email protected]
# if: inputs.RUN_BACKGROUND == 'true'
Expand Down

0 comments on commit d21dc55

Please sign in to comment.