Skip to content

Commit

Permalink
Create cleanup.yml
Browse files Browse the repository at this point in the history
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
  • Loading branch information
dmatej committed Aug 7, 2024
1 parent dfca0ea commit bdcf8de
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Packages Cleanup

on:
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write

steps:
- name: Delete Untagged
uses: actions/delete-package-versions@v5
with:
package-type: container
package-name: glassfish
delete-only-untagged-versions: 'true'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bdcf8de

Please sign in to comment.