Skip to content

fix(ci): extract PR number for build_test command #334

fix(ci): extract PR number for build_test command

fix(ci): extract PR number for build_test command #334

Workflow file for this run

name: Clean up PR-scoped test images
on:
pull_request_target:
types:
- closed
jobs:
delete-images:
name: Delete PR-scoped test images
runs-on: ubuntu-latest
steps:
- uses: r26d/ghcr-delete-image-action@v1.2.2
with:
owner: ${{ github.repository_owner }}
name: cryostat
token: ${{ secrets.GHCR_PR_TOKEN }}
ignore-missing-package: true
tag-regex: pr-${{ github.event.number }}-.*
tagged-keep-latest: 0
if: github.repository_owner == 'cryostatio'