Delete Obsolete GHCR Images #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | ||
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 GitHub Actions / Delete Obsolete GHCR ImagesInvalid workflow file
|
||
secrets: | ||
PAT: ${{ secrets.BOT_PAT }} | ||
permissions: | ||
packages: write |