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 32ae78a commit 35f2f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:
key: ${{ secrets.SSH_KEY }}
script: |
apt update && apt install docker.io -y
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASS }}
docker ps -aq | xargs docker stop | xargs docker rm
docker run -d -p 5000:5000 $IMAGE_NAME:$IMAGE_TAG

0 comments on commit 35f2f0f

Please sign in to comment.