Skip to content

Commit

Permalink
fix(devops): update docker version
Browse files Browse the repository at this point in the history
  • Loading branch information
atakanyasar committed May 1, 2024
1 parent dfbf0df commit 290dccc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/backend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,28 @@ jobs:
java-version: '17'

- name: Build Docker backend-dev Image
run: docker-compose -f ../docker-compose.dev.yml build db-dev
run: docker-compose -f docker-compose.dev.yml build db-dev

- name: Run Docker backend-dev Container
run: docker-compose -f ../docker-compose.dev.yml up -d db-dev
run: docker-compose -f docker-compose.dev.yml up -d db-dev

- name: Run Tests
run: mvn clean test

- name: Stop Docker backend-dev Container
run: docker-compose -f ../docker-compose.dev.yml down
run: docker-compose -f docker-compose.dev.yml down

- name: Build Docker backend-prod Image
run: docker-compose -f ../docker-compose.yml build db
run: docker-compose -f docker-compose.yml build db

- name: Run Docker backend-prod Container
run: docker-compose -f ../docker-compose.yml up -d db
run: docker-compose -f docker-compose.yml up -d db

- name: Run Tests
run: mvn clean test

- name: Stop Docker backend-prod Container
run: docker-compose -f ../docker-compose.yml down
run: docker-compose -f docker-compose.yml down



2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.1"
version: "3.3"
name: bounswe2024group1-dev

services:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.1"
version: "3.3"
name: bounswe2024group1
# Production-like docker-compose setup

Expand Down

0 comments on commit 290dccc

Please sign in to comment.