From ccb8961ed28e2fe05deafc664a5be30c2ca739c7 Mon Sep 17 00:00:00 2001 From: Matt Kilgore Date: Sun, 5 Jan 2025 21:14:18 -0500 Subject: [PATCH] Update clear-stale-docker-images.yml --- .github/workflows/clear-stale-docker-images.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clear-stale-docker-images.yml b/.github/workflows/clear-stale-docker-images.yml index 5f3ffb34..048878ef 100644 --- a/.github/workflows/clear-stale-docker-images.yml +++ b/.github/workflows/clear-stale-docker-images.yml @@ -23,7 +23,7 @@ jobs: # The cut-off for which to delete images older than. For example '2 days ago UTC'. Timezone is required. cut-off: 90 days ago UTC # Personal access token with read and delete scopes. - token: ${{ secrets.GITHUB_CLEANUP_PAT }} + token: ${{ secrets.CLEANUP_PAT }} # Restrict deletions to images without specific tags. Supports Unix-shell style wildcards skip-tags: latest,latest-rootless,0.*,0.*-rootless,main,main-rootless,vnext,vnext-rootless,0,0-rootless # optional # Do not actually delete images. Print output showing what would have been deleted. @@ -48,7 +48,7 @@ jobs: # The cut-off for which to delete images older than. For example '2 days ago UTC'. Timezone is required. cut-off: 90 days ago UTC # Personal access token with read and delete scopes. - token: ${{ secrets.GITHUB_CLEANUP_PAT }} + token: ${{ secrets.CLEANUP_PAT }} # Do not actually delete images. Print output showing what would have been deleted. dry-run: true # optional, default is false # The token type. Can be either 'pat' or 'github-token'. If 'github-token', then image-names must the package name of repository from where this action is invoked.