diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index fb8e733..a17f4e1 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -6,15 +6,10 @@ on: workflow_dispatch: jobs: - cleanup_untagged_images: + clean_up_untagged_images: runs-on: ubuntu-latest - permissions: - packages: write steps: - name: Delete untagged images - uses: actions/delete-package-versions@v5 + uses: dataaxiom/ghcr-cleanup-action@v1 with: - package-name: alpinecodespace - package-type: container - delete-only-untagged-versions: "true" - min-versions-to-keep: 10 + delete-untagged: true