Skip to content

Commit

Permalink
update docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Dana Merrick committed Dec 3, 2024
1 parent c2539eb commit c6931c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
with:
lfs: true
- name: Build tripbot
run: docker-compose --project-directory . -f infra/docker/docker-compose.yml -f infra/docker/docker-compose.testing.yml -f infra/docker/docker-compose.github.yml build tripbot
run: docker compose --project-directory . -f infra/docker/docker-compose.yml -f infra/docker/docker-compose.testing.yml -f infra/docker/docker-compose.github.yml build tripbot
- name: Build obs
run: docker-compose --project-directory . -f infra/docker/docker-compose.yml -f infra/docker/docker-compose.testing.yml -f infra/docker/docker-compose.github.yml build obs
run: docker compose --project-directory . -f infra/docker/docker-compose.yml -f infra/docker/docker-compose.testing.yml -f infra/docker/docker-compose.github.yml build obs
- name: Start the docker-compose stack
env:
# pass these into tripbot
Expand All @@ -70,7 +70,7 @@ jobs:
TWITCH_AUTH_TOKEN: ${{ secrets.TWITCH_AUTH_TOKEN }}
TWITCH_CLIENT_ID: ${{ secrets.TWITCH_CLIENT_ID }}
TWITCH_CLIENT_SECRET: ${{ secrets.TWITCH_CLIENT_SECRET }}
run: docker-compose --project-directory . --env-file infra/docker/env.docker -f infra/docker/docker-compose.yml -f infra/docker/docker-compose.testing.yml -f infra/docker/docker-compose.github.yml up -d
run: docker compose --project-directory . --env-file infra/docker/env.docker -f infra/docker/docker-compose.yml -f infra/docker/docker-compose.testing.yml -f infra/docker/docker-compose.github.yml up -d
- run: sleep 10
- name: Check logs (migrate)
run: docker logs tripbot_migrate_1
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Check running containers
run: docker ps -a
- name: Stop containers
run: docker-compose --project-directory . -f infra/docker/docker-compose.yml -f infra/docker/docker-compose.testing.yml -f infra/docker/docker-compose.github.yml down
run: docker compose --project-directory . -f infra/docker/docker-compose.yml -f infra/docker/docker-compose.testing.yml -f infra/docker/docker-compose.github.yml down
if: always() # run this even if previous steps fail
continue-on-error: true

Expand Down

0 comments on commit c6931c6

Please sign in to comment.