Skip to content

Commit

Permalink
chore: ai server build & push 방법 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjy committed Apr 17, 2024
1 parent 9a041c1 commit 94770e5
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,18 @@ jobs:
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker build -f Dockerfile -t ${{ secrets.DOCKER_USERNAME }}/${{ secrets.CORE_DOCKER_REPO }} .
docker push ${{ secrets.DOCKER_USERNAME }}/${{ secrets.CORE_DOCKER_REPO }}
docker build -f Dockerfile -t ${{ secrets.DOCKER_USERNAME }}/${{ secrets.AI_DOCKER_REPO }} .
docker push ${{ secrets.DOCKER_USERNAME }}/${{ secrets.AI_DOCKER_REPO }}
# FastAPI를 빌드하고 푸시
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ./backend/ai_response_processor
file: ./backend/ai_response_processor/Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/${{ secrets.AI_DOCKER_REPO }}
# # FastAPI를 빌드하고 푸시
# - name: Build and push Docker image
# uses: docker/build-push-action@v5
# with:
# context: ./backend/ai_response_processor
# file: ./backend/ai_response_processor/Dockerfile
# push: true
# tags: ${{ secrets.DOCKER_USERNAME }}/${{ secrets.AI_DOCKER_REPO }}

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit 94770e5

Please sign in to comment.