Skip to content

Commit

Permalink
fix(devops): update compose names
Browse files Browse the repository at this point in the history
  • Loading branch information
atakanyasar committed May 7, 2024
1 parent f243d4f commit 73702f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v4

- name: Test with Maven
run: docker compose -f docker-compose.dev.yml run --rm backend-dev mvn test
run: docker compose -f dev.yml run --rm backend mvn test



4 changes: 2 additions & 2 deletions .github/workflows/backend_deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

- name: Test with Maven
run: docker compose -f docker-compose.dev.yml run --rm backend-dev mvn test
run: docker compose -f dev.yml run --rm backend mvn test

deploy:
needs: test
Expand All @@ -36,7 +36,7 @@ jobs:
run: doctl registry login --context github-actions

- name: Build Docker image
run: docker compose -f docker-compose.yml build
run: docker compose build

- name: Tag Docker image
run: docker tag bounswe2024group1-backend:latest registry.digitalocean.com/semantic-browse/backend-staging:latest
Expand Down

0 comments on commit 73702f0

Please sign in to comment.