Skip to content

Commit 043f45b

Browse files
git commit -m 'autodeploy'
1 parent 5cd2146 commit 043f45b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/autodeploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
cd course-matrix
6464
docker compose build
6565
66+
- name: List Docker Images (Debugging)
67+
run: docker images # Check if images exist before tagging
68+
6669
- name: Tag Images
6770
run: |
6871
docker tag course-matrix/frontend:latest course-matrix/frontend:${{ github.sha }}

course-matrix/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: '3.8'
22

33
services:
44
backend:
5+
image: course-matrix/backend:latest
56
build:
67
context: ./backend
78
ports:
@@ -16,6 +17,7 @@ services:
1617
- course-matrix-net
1718

1819
frontend:
20+
image: course-matrix/frontend:latest
1921
build:
2022
context: ./frontend
2123
args:

0 commit comments

Comments
 (0)