mirror of
https://github.com/tumillanino/miasma-os.git
synced 2026-04-11 07:15:31 +00:00
24 lines
564 B
YAML
24 lines
564 B
YAML
name: Clean up images
|
|
on:
|
|
schedule:
|
|
- cron: "00 0 * * 0"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
|
|
|
jobs:
|
|
delete-older-than-30:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
packages: write
|
|
steps:
|
|
- name: Clean up images more than 30 days
|
|
uses: dataaxiom/ghcr-cleanup-action@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
packages: solarpowered,solarpowered-ex
|
|
older-than: 30 days
|
|
delete-untagged: true
|
|
# dry-run: true
|