From 5c108d27df69fb8cf4a27aae0fc569c9c8ec44a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=AF=9A?= Date: Sat, 3 Jan 2026 11:30:51 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/push.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/push.yml b/.gitea/workflows/push.yml index 6e2644b..db769f2 100644 --- a/.gitea/workflows/push.yml +++ b/.gitea/workflows/push.yml @@ -54,3 +54,13 @@ jobs: run: | docker compose -p $COMPOSE_PROJECT_NAME down docker compose -p $COMPOSE_PROJECT_NAME up -d --build + + cleanup: + name: Cleanup Dangling Images + runs-on: ubuntu-latest + needs: deploy + steps: + - name: Remove dangling images + run: | + docker rm $(docker images -f "dangling=true" -q) || true + echo "Cleanup completed." \ No newline at end of file