From b24250df6fee34dddd96cadd22f65da0917eef2e Mon Sep 17 00:00:00 2001 From: gol2580 <86960201+gol2580@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:18:45 +0900 Subject: [PATCH] Update github-action.yml --- .github/workflows/github-action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml index 06cb5ec..1bc6455 100644 --- a/.github/workflows/github-action.yml +++ b/.github/workflows/github-action.yml @@ -62,5 +62,8 @@ jobs: username: ${{ secrets.USERNAME }} key: ${{ secrets.PRIVATE_KEY }} # private key test script: | - whoami + sudo docker ps + sudo docker pull ${{ secrets.DOCKER_USERNAME }}/kimgreen + sudo docker run -d -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/kimgreen + sudo docker image prune -f