Skip to content

Workflow file for this run

on:
schedule:
- cron: '50 11 * * 4'
push:
paths:
- '.github/workflows/cleanup.yml'
env:
IMAGE_NAME: ${{ github.repository }}
name: Cleanup old container images
jobs:
cleanup-old-container-images:
permissions:
packages: admin

Check failure on line 15 in .github/workflows/cleanup.yml

View workflow run for this annotation

GitHub Actions / Cleanup old container images

Invalid workflow file

The workflow is not valid. .github/workflows/cleanup.yml (Line: 15, Col: 17): Unexpected value 'admin'
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v4
with:
package-name: ${{ env.IMAGE_NAME }}
package-type: 'container'
min-versions-to-keep: 30
delete-only-untagged-versions: 'true'
ignore-versions: ^v.*