mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-16 21:02:57 +08:00
56f39bedfd
Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.2.1 to 1.2.2. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/f092b48ba3b604b2a83690dc4b2bbb3392e1045f...d52806a0dc70b430571a37da1fde39733ffd640f) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-version: 1.2.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
792 B
YAML
27 lines
792 B
YAML
name: 'Clean up GHCR Packages'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * 0'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
cleanup:
|
|
runs-on: ubuntu-slim
|
|
permissions:
|
|
packages: write
|
|
contents: read
|
|
steps:
|
|
- name: Delete old container versions (30+ days)
|
|
uses: dataaxiom/ghcr-cleanup-action@d52806a0dc70b430571a37da1fde39733ffd640f # v1.2.2
|
|
with:
|
|
dry-run: false
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
package: rsshub
|
|
older-than: 30 days
|
|
keep-n-tagged: 5
|
|
delete-untagged: true
|
|
delete-ghost-images: true
|
|
delete-orphaned-images: true
|
|
delete-partial-images: true
|