mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2026-01-04 20:14:54 +01:00
Update to
This commit is contained in:
17
.github/workflows/clear-stale-docker-images.yml
vendored
17
.github/workflows/clear-stale-docker-images.yml
vendored
@@ -21,9 +21,7 @@ jobs:
|
||||
with:
|
||||
skip-shas: ${{ steps.multi-arch-digests.outputs.multi-arch-digests }}
|
||||
# The type of account. Can be either 'org' or 'personal'.
|
||||
account-type: org
|
||||
# The name of the organization. Only required if the account type is 'personal'.
|
||||
org-name: sysadminsmedia # optional, default is
|
||||
account: sysadminsmedia
|
||||
# Image name to delete. Supports passing several names as a comma-separated list.
|
||||
image-names: homebox
|
||||
# The cut-off for which to delete images older than. For example '2 days ago UTC'. Timezone is required.
|
||||
@@ -31,11 +29,9 @@ jobs:
|
||||
# Personal access token with read and delete scopes.
|
||||
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
|
||||
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.
|
||||
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.
|
||||
token-type: pat # optional, default is pat
|
||||
|
||||
delete-old-images-devcache:
|
||||
name: Delete Cache Old Images
|
||||
@@ -46,16 +42,11 @@ jobs:
|
||||
- uses: snok/container-retention-policy@v3.0.0
|
||||
with:
|
||||
# The type of account. Can be either 'org' or 'personal'.
|
||||
account-type: org
|
||||
# The name of the organization. Only required if the account type is 'personal'.
|
||||
org-name: sysadminsmedia # optional, default is
|
||||
# Image name to delete. Supports passing several names as a comma-separated list.
|
||||
account: sysadminsmedia
|
||||
image-names: devcache
|
||||
# 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.CLEANUP_PAT }}
|
||||
# Do not actually delete images. Print output showing what would have been deleted.
|
||||
dry-run: false # 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.
|
||||
token-type: pat # optional, default is pat
|
||||
dry-run: true # optional, default is false
|
||||
|
||||
Reference in New Issue
Block a user