Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsj4653 authored Feb 25, 2024
1 parent 6de7876 commit f81cb22
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ jobs:
run: |
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
cd ./OCR
docker build -t shinsj4653/gdsc-solution-challenge-team4-pointer .
docker tag shinsj4653/gdsc-solution-challenge-team4-pointer shinsj4653/gdsc-solution-challenge-team4-pointer:${GITHUB_SHA::7}
docker push shinsj4653/gdsc-solution-challenge-team4-pointer:${GITHUB_SHA::7}
docker build -t shinsj4653/gdsc-solution-challenge-team4-pointer:beadyeyes-ai .
docker push shinsj4653/gdsc-solution-challenge-team4-pointer:beadyeyes-ai
# Deploy
- name: Deploy
Expand All @@ -62,7 +61,7 @@ jobs:
envs: GITHUB_SHA
script: |
sudo docker login -u shinsj4653 -p ${{ secrets.DOCKERHUB_PASSWORD }}
sudo docker pull shinsj4653/gdsc-solution-challenge-team4-pointer:${GITHUB_SHA::7}
sudo docker tag shinsj4653/gdsc-solution-challenge-team4-pointer:${GITHUB_SHA::7} beadyeyes-ai
sudo docker pull shinsj4653/gdsc-solution-challenge-team4-pointer:beadyeyes-ai
sudo docker tag shinsj4653/gdsc-solution-challenge-team4-pointer:beadyeyes-ai beadyeyes-ai
sudo docker-compose up -d

0 comments on commit f81cb22

Please sign in to comment.