fix(ci): scope frontend image cleanup

This commit is contained in:
Codex
2026-07-24 13:16:35 +08:00
parent 9094bcbab0
commit 2a90b4d9ec
-2
View File
@@ -49,8 +49,6 @@ echo "=== compose project: $COMPOSE_PROJECT_NAME ==="
"${COMPOSE[@]}" up -d --remove-orphans --no-build web "${COMPOSE[@]}" up -d --remove-orphans --no-build web
"${COMPOSE[@]}" ps "${COMPOSE[@]}" ps
docker image prune -f
prune_project_images() { prune_project_images() {
local retain_count="$1" local retain_count="$1"
if ! [[ "$retain_count" =~ ^[0-9]+$ ]] || [ "$retain_count" -le 0 ]; then if ! [[ "$retain_count" =~ ^[0-9]+$ ]] || [ "$retain_count" -le 0 ]; then