From be7e9c0724cf901ea8d9b01b39b6ba81e6eed651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=A0=EC=B0=BD=EC=97=BD?= Date: Mon, 10 Jun 2024 18:04:57 +0900 Subject: [PATCH] [INFRA] Fix : Docker images duplication error fix --- .github/workflows/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 0c3e267..c527e1a 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -71,6 +71,7 @@ jobs: script: | sudo docker stop frontend || true sudo docker rm frontend || true + sudo docker rmi ${{ secrets.DOCKERHUB_USERNAME }}/ggumtle-frontend sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/ggumtle-frontend sudo docker run --name frontend -d \ -p 5173:5173 \ @@ -92,6 +93,7 @@ jobs: script: | sudo docker stop backend || true sudo docker rm backend || true + sudo docker rmi ${{ secrets.DOCKERHUB_USERNAME }}/ggumtle-backend sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/ggumtle-backend sudo docker run --name backend -d \ -p 8081:8081 \