deploy.sh 成功后自动清理旧镜像,防止磁盘积满

This commit is contained in:
2569718930@qq.com
2026-05-26 04:36:43 +08:00
parent f884b016cc
commit a7076f48a6
+1
View File
@@ -52,4 +52,5 @@ fi
mkdir -p "$(dirname "$TAG_FILE")"
echo "$NEW_TAG" > "$TAG_FILE"
docker image prune -af
echo "✅ Deployed $NEW_TAG"