Skip to content

Commit 0ff824e

Browse files
committed
chore: Add secrets to workflow
1 parent 2823e38 commit 0ff824e

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ai-model-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
# ECS_CLUSTER_NAME: DevCluster
1818
# ECS_TASK_DEFINITION_FAMILY: ai-service-td
1919
CONTAINER_NAME: model-service
20+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
2021

2122

2223

.github/workflows/ai-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
# ECS_CLUSTER_NAME: DevCluster
1818
# ECS_TASK_DEFINITION_FAMILY: ai-service-td
1919
CONTAINER_NAME: msa-ai-service
20+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
2021

2122

2223

model-service/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ COPY model-service/app ./app
2626
ENV PYTHONPATH=/app
2727

2828
# gRPC 서버 실행
29-
CMD ["python", "-m", "app.main"]
29+
CMD ["python", "-m", "app.main"]
3030

msa-ai-service/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ COPY msa-ai-service/app ./app
3333
ENV PYTHONPATH=/app
3434

3535
# 기본 실행
36-
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
36+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
3737

3838

3939
# FROM python:3.10-slim

0 commit comments

Comments
 (0)