Skip to content

Commit

Permalink
Updated yamls for image testing
Browse files Browse the repository at this point in the history
  • Loading branch information
brok3turtl3 committed Oct 18, 2024
1 parent 61ed0dc commit ea4286c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: Install Docker Compose
run: sudo apt-get update && sudo apt-get install -y docker-compose
- name: Build Docker Image
run: docker build -t codehammers/ch-dev-dep-v3:latest -f Dockerfile-dev .
run: docker build -t codehammers/ch-dev-dep-v4:latest -f Dockerfile-dev .
- name: Install Root Dependencies
run: docker run codehammers/ch-dev-dep-v3:latest npm install
run: docker run codehammers/ch-dev-dep-v4:latest npm install
- name: Install Client Dependencies
run: docker run codehammers/ch-dev-dep-v3:latest /bin/sh -c "cd client && npm install"
run: docker run codehammers/ch-dev-dep-v4:latest /bin/sh -c "cd client && npm install"
- run: LINT_COMMAND=lint docker-compose -f docker-compose-lint.yml up --abort-on-container-exit
- run: docker-compose -f docker-compose-test.yml up --abort-on-container-exit
env:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
dev:
image: codehammers/ch-dev-dep-v3:latest
image: codehammers/ch-dev-dep-v4:latest
container_name: ch-dev
ports:
- '8080:8080'
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
dev:
image: codehammers/ch-dev-dep-v3:latest
image: codehammers/ch-dev-dep-v4:latest
container_name: ch-lint
ports:
- '3333:3333'
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-test-solo.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
test:
image: codehammers/ch-dev-dep-v3:latest
image: codehammers/ch-dev-dep-v4:latest
container_name: ch-test
ports:
- '3000:3000'
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
test:
image: codehammers/ch-dev-dep-v3:latest
image: codehammers/ch-dev-dep-v4:latest
container_name: ch-test
ports:
- '3000:3000'
Expand Down

0 comments on commit ea4286c

Please sign in to comment.