Skip to content

Commit 81449a9

Browse files
committed
Fix build
1 parent 58e8c07 commit 81449a9

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
steps:
4242
- uses: actions/checkout@v4
43-
43+
4444
- name: Install uv
4545
uses: astral-sh/setup-uv@v4
4646
with:
@@ -96,20 +96,20 @@ jobs:
9696
build-docker:
9797
runs-on: ubuntu-latest
9898
needs: test
99-
99+
100100
steps:
101101
- uses: actions/checkout@v4
102-
102+
103103
- name: Set up Docker Buildx
104104
uses: docker/setup-buildx-action@v3
105-
105+
106106
- name: Build Docker image
107107
run: |
108108
cp .env-copy .env
109-
docker compose build fastapi-service
110-
109+
docker compose build fastapi
110+
111111
- name: Test Docker image
112112
run: |
113-
docker compose up -d postgres redis minio
113+
docker compose up -d db redis_db minio
114114
sleep 10
115-
docker compose run --rm fastapi-service python -c "from src.config import get_settings; print('Docker build successful')"
115+
docker compose run --rm fastapi python -c "from src.config import get_settings; print('Docker build successful')"

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3.8"
2-
31
networks:
42
app-network:
53
driver: bridge

0 commit comments

Comments
 (0)