Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadahmed-01 authored Feb 26, 2024
1 parent 230171e commit 821ffb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
host: 64.23.160.144
username: root
key: ${{ secrets.SSH_KEY }}
script: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker ps -aq | xargs docker stop | xargs docker rm
docker run -d -p 5000:5000 $IMAGE_NAME:$IMAGE_TAG
# script: |
# docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
# docker ps -aq | xargs docker stop | xargs docker rm
# docker run -d -p 5000:5000 $IMAGE_NAME:$IMAGE_TAG

0 comments on commit 821ffb0

Please sign in to comment.