Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsj4653 authored Jan 15, 2024
1 parent 2718a76 commit f6dacb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
# Docker build
- name: Docker build
run: |
docker login -u shinsj4653 -p Shin5633^^
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
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}
Expand All @@ -65,7 +65,7 @@ jobs:
envs: GITHUB_SHA
port: 22
script: |
sudo docker login -u shinsj4653 -p Shin5633^^
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} gdsc-sc-pointer-backend
sudo docker-compose up -d

0 comments on commit f6dacb1

Please sign in to comment.