Skip to content

Commit

Permalink
Updated YML
Browse files Browse the repository at this point in the history
  • Loading branch information
zzunipark committed Jun 1, 2024
1 parent d8eb054 commit b9440b5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,16 @@ jobs:
needs: build-docker-image
runs-on: self-hosted
steps:
- uses: actions/checkout@v3

- name: docker login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: pull docker image with latest tag
run: sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/mindway-v2-backend
run: docker pull ${{ secrets.DOCKERHUB_USERNAME }}/mindway-v2-backend:latest

- name: docker stop container
run: sudo docker stop $(sudo docker ps -q) 2> /dev/null || true
Expand Down

0 comments on commit b9440b5

Please sign in to comment.