clean-gablue-images #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: clean-gablue-images | |
on: | |
schedule: | |
- cron: "15 0 * * 0" # 0015 UTC on Sundays | |
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/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
packages: gablue-main,gablue-nvidia,gablue-nvidia-open | |
older-than: 90 days | |
delete-orphaned-images: true | |
keep-n-tagged: 7 | |
keep-n-untagged: 7 |