From 7abdfc82d6ee123c19858408b632e9adfb07efc5 Mon Sep 17 00:00:00 2001 From: toast Date: Fri, 12 Jan 2024 14:03:57 +1100 Subject: [PATCH] Attempt to avoid container conflicts --- .gitea/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 7b013d8..ce7411e 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -16,4 +16,5 @@ jobs: port: ${{ secrets.SSH_PORT }} script: | cd kon && docker compose pull && \ - docker compose up -d --remove-orphans && docker image prune -f + docker compose down --remove-orphans && docker compose up -d && \ + docker image prune -f && docker system prune -f