Skip to content

Commit

Permalink
fix(ci): fix broken jobs related to docker-compose (#1815)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 authored Nov 7, 2024
1 parent 2905d20 commit 1b9dafa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:
- name: Start grafana docker
if: steps.check-for-e2e.outputs.has-e2e == 'true'
working-directory: packages/${{ matrix.package }}
run: docker-compose up -d
run: docker compose up -d

- name: Run e2e tests
if: steps.check-for-e2e.outputs.has-e2e == 'true'
Expand All @@ -238,4 +238,4 @@ jobs:
- name: Stop grafana docker
if: steps.check-for-e2e.outputs.has-e2e == 'true'
working-directory: packages/${{ matrix.package }}
run: docker-compose down
run: docker compose down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ jobs:
touch env/production.env
- name: Build image
run: |
docker-compose -f docker/docker-compose.yml up -d --build
docker compose -f docker/docker-compose.yml up -d --build
docker commit opentogethertube opentogethertube
docker-compose -f docker/docker-compose.yml down
docker compose -f docker/docker-compose.yml down
docker tag opentogethertube dyc3/opentogethertube:latest
- name: Push to Dockerhub
run: docker push dyc3/opentogethertube:latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "dyc3" --password-stdin
- name: Build image for ${{ github.ref_name }}
run: |
docker-compose -f docker/docker-compose.yml up -d --build
docker compose -f docker/docker-compose.yml up -d --build
docker commit opentogethertube opentogethertube
docker-compose -f docker/docker-compose.yml down
docker compose -f docker/docker-compose.yml down
docker tag opentogethertube dyc3/opentogethertube:${{ github.ref_name }}
- name: Push to Dockerhub
run: docker push dyc3/opentogethertube:${{ github.ref_name }}
Expand Down

0 comments on commit 1b9dafa

Please sign in to comment.