Skip to content

Package Prune

Package Prune #165

Workflow file for this run

name: Package Prune
on:
workflow_run:
workflows: [Docker Image Build]
types: [completed]
workflow_dispatch:
jobs:
package-prune:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
steps:
- name: GHCR Pruning
uses: vlaurin/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
organization: manechat
container: izzy-moonbot
dry-run: false
keep-tags: latest
keep-last: 2
prune-untagged: true