changing to .gitea

This commit is contained in:
2026-06-05 15:53:13 +00:00
parent e9aee162c5
commit dab98c3e60
5 changed files with 335 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Cleanup Old Images
on:
schedule:
- cron: "0 0 * * 0" # Weekly on Sunday at midnight UTC
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
jobs:
delete-older-than-90:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Delete Images Older Than 90 Days
uses: dataaxiom/ghcr-cleanup-action@f092b48ba3b604b2a83690dc4b2bbb3392e1045f # v1.2.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# IMPORTANT: Update this to match your image name from Containerfile (line 9)
# This should match the "# Name: your-repo-name" comment in your Containerfile
# Example: If your Containerfile has "# Name: my-custom-os", use "my-custom-os" here
packages: fluffy-pancake
older-than: 45 days
delete-orphaned-images: true
keep-n-tagged: 5
keep-n-untagged: 5