File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,16 +36,18 @@ jobs:
3636
3737 defaults :
3838 run :
39- working-directory : backend
39+ working-directory : api
4040
4141 steps :
4242 - uses : actions/checkout@v4
43+ - name : Validate control-plane path
44+ run : test -f api/requirements.txt
4345
4446 - uses : actions/setup-python@v5
4547 with :
4648 python-version : ' 3.11.9'
4749 cache : pip
48- cache-dependency-path : backend /requirements.txt
50+ cache-dependency-path : api /requirements.txt
4951
5052 - name : Install deps
5153 run : |
9193 needs : [backend, frontend]
9294 steps :
9395 - uses : actions/checkout@v4
96+ - name : Validate build contexts
97+ run : |
98+ test -f api/Dockerfile
99+ test -f frontend/Dockerfile
94100 - name : Build backend image
95- run : docker build -t replayforge-backend:ci ./backend
101+ run : docker build -t replayforge-backend:ci ./api
96102 - name : Build frontend image
97103 run : docker build -t replayforge-frontend:ci --target production ./frontend
You can’t perform that action at this time.
0 commit comments