Skip to content

Commit

Permalink
Merge pull request #849 from google/delete-old-versions
Browse files Browse the repository at this point in the history
ci: Add a workflow to delete old packages.
  • Loading branch information
jaqx0r authored Apr 25, 2024
2 parents 08489e0 + 1acb6ed commit 1474283
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/remove-old-package-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: remove old package versions
on:
schedule:
- cron: "30 2 * * 3"

jobs:
remove-old-packages:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: mtail
package-type: container
min-versions-to-keep: 10

0 comments on commit 1474283

Please sign in to comment.