From e04295531a1d13344e37e7819aa5d4b3d94da6f4 Mon Sep 17 00:00:00 2001 From: KIM EUN CHAE <129070298+EUNCHAEv1006@users.noreply.github.com> Date: Mon, 15 Jan 2024 13:04:30 +0900 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a787416..23d0eca 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -49,5 +49,7 @@ jobs: key: ${{ secrets.AWS_SSH_KEY }} port: 22 script: | - docker pull ${{ secrets.DOCKERHUB_USERNAME }} + docker rm -f $(docker ps -qa) + docker rmi ${{ secrets.DOCKERHUB_USERNAME }}/hhive + docker pull ${{ secrets.DOCKERHUB_USERNAME }}/hhive docker-compose up -d