ci(deploy): 添加清理无标签镜像步骤
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 1m43s

- 在部署流程结束后增加清理无标签镜像的步骤
- 使用 docker image prune -f 命令快速清理无标签镜像
This commit is contained in:
gewuyou 2025-05-09 11:52:34 +08:00
parent 8a19372b43
commit 7205123043

View File

@ -132,3 +132,7 @@ jobs:
echo "=== 服务状态检查 ===" echo "=== 服务状态检查 ==="
docker compose -f ${COMPOSE_FILE} ps docker compose -f ${COMPOSE_FILE} ps
- name: 🧼 Cleanup Dangling Images
run: |
echo "开始清理无标签镜像..."
docker image prune -f