Clean up registry #201
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Clean up registry" | |
on: | |
delete: | |
workflow_dispatch: | |
jobs: | |
delete_images: | |
name: "Delete ghcr.io images ${{ github.event.ref }}" | |
runs-on: ubuntu-latest | |
environment: Registry | |
steps: | |
- uses: NethServer/ns8-github-actions/.github/actions/delete-image@v1 | |
with: | |
images: "mail mail-dovecot mail-clamav mail-postfix mail-rspamd" | |
delete_image_token: ${{ secrets.IMAGES_CLEANUP_TOKEN }} |