cleaning root
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2025-09-11 08:18:31 +09:00
parent fcf27c1639
commit b0346e4bd7
26 changed files with 352 additions and 159 deletions

View File

@@ -192,35 +192,3 @@ volumes:
- name: docker
host:
path: /var/run/docker.sock
---
# Отдельный pipeline для очистки старых образов
kind: pipeline
type: docker
name: cleanup
trigger:
cron:
- cleanup
event:
- cron
steps:
- name: cleanup-images
image: docker:dind
volumes:
- name: docker
path: /var/run/docker.sock
commands:
- echo "Cleaning up old Docker images..."
- docker image prune -f --filter "until=72h"
- docker container prune -f --filter "until=24h"
- echo "Cleanup completed"
volumes:
- name: docker
host:
path: /var/run/docker.sock
depends_on:
- quiz-bot-ci-cd