From a4e44b212ce16c255f59f017010671d4b136b98f Mon Sep 17 00:00:00 2001 From: blackbean Date: Mon, 26 Feb 2024 20:08:46 +0900 Subject: [PATCH] [fix] : cd orphan container --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 46220589..ddbdfb12 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -60,11 +60,11 @@ jobs: cd ./econo-recruit/server # docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }} # Remove origin was container - # docker rm -f Econovation_Recruit_Server + docker rm -f backend # Pull and Deploy new built docker image with new tag docker pull blackbean99@econo-recruit:latest - docker-compose up -d + docker-compose up -d --remove-orphans # Remove all unused docker image docker image prune -a -f