From 966664d3a7aac020e7644cb1e5a1da62f5f83786 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 9 Mar 2026 21:37:29 +0100 Subject: [PATCH] CI: docker image prune nach jedem Deploy Entfernt dangling/orphan Images automatisch nach docker pull + deploy. Verhindert dass sich alte untagged Images ansammeln (~533MB pro Build). [skip ci] Co-Authored-By: Claude Opus 4.6 --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9000ddf..1fa7956 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -170,6 +170,8 @@ deploy: -v /mnt/cache/appdata/dockge/container/jukebox/sounds/:/data/sounds:rw \ "$DEPLOY_IMAGE" - docker ps --filter name="$CONTAINER_NAME" --format "ID={{.ID}} Status={{.Status}} Image={{.Image}}" + - echo "[Deploy] Cleaning up dangling images..." + - docker image prune -f || true bump-version: stage: bump-version