Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsj4653 committed Feb 25, 2024
2 parents 3eb48fc + 3a453c0 commit 97dff86
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ jobs:
run: |
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
cd ./OCR
docker build -t shinsj4653/gdsc-solution-challenge-team4-pointer:beadyeyes-ai .
docker push shinsj4653/gdsc-solution-challenge-team4-pointer:beadyeyes-ai
docker build -t gdsc-solution-challenge-team4-pointer .
docker tag 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}
# Deploy
- name: Deploy
Expand All @@ -60,8 +61,8 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
envs: GITHUB_SHA
script: |
sudo docker login -u shinsj4653 -p ${{ secrets.DOCKERHUB_PASSWORD }}
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 login -u ${{ secrets.DOCKERHUB_USERNAME }} -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-compose up -d

0 comments on commit 97dff86

Please sign in to comment.