Skip to content

Delete Obsolete GHCR Images #118

Delete Obsolete GHCR Images

Delete Obsolete GHCR Images #118

Workflow file for this run

---
name: Delete Obsolete GHCR Images
on:
schedule:
- cron: "0 1 * * *" # every day at midnight
workflow_dispatch:
permissions:
contents: read
jobs:
trigger:
uses: statnett/workflows/.github/workflows/clean-ghcr.yaml@main
with:
image-names: ${{ github.event.repository.name }}

Check failure on line 14 in .github/workflows/clean-ghcr.yaml

View workflow run for this annotation

GitHub Actions / Delete Obsolete GHCR Images

Invalid workflow file

The workflow is not valid. .github/workflows/clean-ghcr.yaml (Line: 14, Col: 20): Invalid input, image-names is not defined in the referenced workflow. .github/workflows/clean-ghcr.yaml (Line: 16, Col: 12): Invalid secret, PAT is not defined in the referenced workflow.
secrets:
PAT: ${{ secrets.BOT_PAT }}
permissions:
packages: write