Skip to content

Commit

Permalink
build: reusable ghcr cleanup with multi-arch support
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Dec 31, 2024
1 parent 098c964 commit 60f0584
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/reusable-ghcr-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ jobs:
token: ${{ secrets.token }}
owner: ${{ github.repository_owner }}
package: ${{ github.event.repository.name }}
#dry-run: ${{ inputs.dry_run }}
dry-run: ${{ inputs.dry-run }}
use-regex: true
exclude-tags: '^(v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?|main|latest)$'
older-than: 30 days
keep-n-untagged: 10
dry-run: true
validate: true

0 comments on commit 60f0584

Please sign in to comment.