Skip to content

For testing purpose

For testing purpose #3

Workflow file for this run

name: Delete old container images
on:
schedule:
- cron: "*/5 * * * *"
workflow_dispatch:
push:
branches:
- ghcr-clean
jobs:
clean-ghcr:
name: Delete old unused container images
runs-on: ubuntu-20.04
steps:
- name: Delete containers older than a Month
uses: snok/container-retention-policy@v2
with:
image-names: traction-plugins-acapy, traction-tenant-proxy, traction-tenant-ui
cut-off: One month ago UTC
account-type: org
org-name: ${{ github.repository_owner}}
skip-tags: pr-* , *.*.*
untagged-only: true
token: ${{ secrets.PACKAGE_DELETE_TOKEN }}