Delete .gitea/workflows/docker-cleanup.yml
Build Docker Image for Raspberry Pi / build-and-push (push) Has been cancelled

This commit is contained in:
2026-03-03 20:55:09 +01:00
parent 874ece5529
commit 7a5cb5e216
-29
View File
@@ -1,29 +0,0 @@
name: Docker Image Cleanup
on:
schedule:
# Esegui ogni domenica alle 2:00 AM
- cron: '0 2 * * 0'
workflow_dispatch:
jobs:
cleanup-old-images:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Cleanup old development images
run: |
echo "Pulizia delle immagini Docker vecchie (mantenere solo le ultime 10 versioni)"
# Questo script può essere personalizzato in base alle tue esigenze
# Per ora è solo un placeholder per future implementazioni
echo "Cleanup completato"