Skip to content

Commit

Permalink
chore: fix Docker Login on EC2 Contents
Browse files Browse the repository at this point in the history
  • Loading branch information
GiJungPark committed Jun 30, 2024
1 parent 345b688 commit 2770f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
key: ${{ secrets.PRIVATE_KEY }}
port: 22
script: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
sudo docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
sudo docker stop $(sudo docker ps -q) 2>/dev/null || true
sudo docker pull ${{ secrets.DOCKER_REPO }}/ustory
sudo docker run --name github-actions-demo --rm -d -p 8080:8080 ${{ secrets.DOCKER_REPO }}/ustory
Expand Down

0 comments on commit 2770f45

Please sign in to comment.