ci(deploy): 添加清理无标签镜像步骤
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 1m43s
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 1m43s
- 在部署流程结束后增加清理无标签镜像的步骤 - 使用 docker image prune -f 命令快速清理无标签镜像
This commit is contained in:
parent
8a19372b43
commit
7205123043
@ -131,4 +131,8 @@ jobs:
|
||||
docker compose -f ${COMPOSE_FILE} up -d
|
||||
|
||||
echo "=== 服务状态检查 ==="
|
||||
docker compose -f ${COMPOSE_FILE} ps
|
||||
docker compose -f ${COMPOSE_FILE} ps
|
||||
- name: 🧼 Cleanup Dangling Images
|
||||
run: |
|
||||
echo "开始清理无标签镜像..."
|
||||
docker image prune -f
|
||||
Loading…
x
Reference in New Issue
Block a user