From a2f277d62e29db92c2a06220a356aceefb0208f9 Mon Sep 17 00:00:00 2001 From: Jinwoo Lee Date: Tue, 26 Sep 2023 15:57:15 +0900 Subject: [PATCH] fix: add docker prune cmd --- .github/workflows/on_push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/on_push.yml b/.github/workflows/on_push.yml index 56ce2097..f7dbc960 100644 --- a/.github/workflows/on_push.yml +++ b/.github/workflows/on_push.yml @@ -88,6 +88,7 @@ jobs: working-directory: /home/ubuntu command: | docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} + docker system prune -a -f docker pull repl4242/gifthub-was:${{env.IMAGE_TAG}} IMAGE_TAG=${{env.IMAGE_TAG}} docker-compose up