Skip to content

Commit

Permalink
ci: add job to delete dev packages manually
Browse files Browse the repository at this point in the history
  • Loading branch information
binbin-li committed Sep 14, 2024
1 parent 881988a commit bc4dd64
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/clean-dev-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: clean-dev-package

on:
workflow_dispatch:

permissions:
contents: read
packages: write

jobs:
cleanup-packages:
runs-on: ubuntu-latest
steps:
- name: Clean up ratify-crds-dev
uses: actions/delete-package-versions@v5
with:
package-name: 'ratify-crds-dev'
package-type: 'container'
min-versions-to-keep: 7
delete-only-pre-release-versions: "true"
- name: Clean up ratify-dev
uses: actions/delete-package-versions@v5
with:
package-name: 'ratify-dev'
package-type: 'container'
min-versions-to-keep: 7
delete-only-pre-release-versions: "true"

0 comments on commit bc4dd64

Please sign in to comment.