From 3794ae99d0ae1d2ef9e35081716f7a50c82e8048 Mon Sep 17 00:00:00 2001 From: djeebus Date: Fri, 22 Dec 2023 11:06:02 -0500 Subject: [PATCH] disable maintenance script --- .github/workflows/maintenance.yaml | 42 ++++++++++++++++-------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/.github/workflows/maintenance.yaml b/.github/workflows/maintenance.yaml index 82966055..aa73a36f 100644 --- a/.github/workflows/maintenance.yaml +++ b/.github/workflows/maintenance.yaml @@ -1,21 +1,23 @@ -name: Maintenance +# have to disable this, it's deleting untagged layers that are referenced by manifests -# Deleting untagged images requires a Personal Access Token, it cannot -# be done with a github action built in token. This is a known limitation. - -on: - schedule: - - cron: "0 0 * * SUN" - workflow_dispatch: - -jobs: - delete-untagged-images: - name: delete untagged images - runs-on: ubuntu-22.04 - steps: - - uses: Chizkiyahu/delete-untagged-ghcr-action@v3 - with: - owner_type: org - package_name: kubechecks - token: ${{ secrets.MAINTENANCE_TOKEN }} - untagged_only: true +#name: Maintenance +# +## Deleting untagged images requires a Personal Access Token, it cannot +## be done with a github action built in token. This is a known limitation. +# +#on: +# schedule: +# - cron: "0 0 * * SUN" +# workflow_dispatch: +# +#jobs: +# delete-untagged-images: +# name: delete untagged images +# runs-on: ubuntu-22.04 +# steps: +# - uses: Chizkiyahu/delete-untagged-ghcr-action@v3 +# with: +# owner_type: org +# package_name: kubechecks +# token: ${{ secrets.MAINTENANCE_TOKEN }} +# untagged_only: true