Skip to content

Package Prune

Package Prune #246

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/action-ghcr-prune@v0.6.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
organization: manechat
container: izzy-moonbot
dry-run: false
keep-tags: latest
keep-last: 2
prune-untagged: true