Skip to content

Create cleanup.yml (#12) #2

Create cleanup.yml (#12)

Create cleanup.yml (#12) #2

Workflow file for this run

name: Packages Cleanup
on:
push:
branches: [ "main" ]
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:
owner: ${{ github.repository_owner }}
package-type: container
package-name: glassfish
delete-only-untagged-versions: 'true'
token: ${{ secrets.GITHUB_TOKEN }}