Skip to content

Set repository name

Set repository name #4

Workflow file for this run

name: Docker image cleanup
on:
schedule:
- cron: "42 2 * * 0" # Run every Sunday at 02:42 UTC.
workflow_dispatch:
push:
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
packages: write
strategy:
matrix:
image:
- debian-bullseye
# - debian-bookworm
# - rhel-9.4
# - rhel-9.6
# - tools-rippled
# - ubuntu-jammy
# - ubuntu-noble
steps:
- name: Cleanup images in the GitHub Container Registry
uses: dataaxiom/ghcr-cleanup-action@v1
with:
delete-ghost-images: true
delete-orphaned-images: true
delete-partial-images: true
delete-untagged: true
dry-run: true
repository: ${{ github.repository }}
package: ${{ matrix.image }}