Skip to content

Commit

Permalink
chore: add Docker pull & run Contents
Browse files Browse the repository at this point in the history
GiJungPark committed Jun 30, 2024
1 parent 4cd8ec5 commit c389a45
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -68,8 +68,11 @@ jobs:
key: ${{ secrets.PRIVATE_KEY }}
port: 22
script: |
whoami
ls -al
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
sudo docker system prune -f
# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
#

0 comments on commit c389a45

Please sign in to comment.