Skip to content

enable https redirects #7

enable https redirects

enable https redirects #7

name: Purge Pull Request Image
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#registry_package
# Run cleanup job if a new package was published or updated
on:
pull_request:
types: [closed]
jobs:
purge_pr_image:
runs-on: ubuntu-latest
steps:
- name: Purge Pull Request Image
uses: vlaurin/action-ghcr-prune@v0.1.0
with:
token: ${{ secrets.GHCR_TOKEN}}
organization: ${{ github.repository_owner}}
container: ${{ github.event.repository.name }}
tag-regex: /^pr-${{github.event.pull_request.number}}$/
dry-run: true