Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Unified outputs

Unified outputs #74

name: Remove docker images for stale/closed PR(s).
on:
pull_request:
branches:
- main
types: [closed]
jobs:
cleanup:
name: Cleanup ghcr.io/cartesi/${{ matrix.image }}:pr-${{ github.event.number }} image
runs-on: ubuntu-latest
permissions:
packages: write
strategy:
matrix:
image:
- deployments
- rollups-advance-runner
- rollups-cli
- rollups-dispatcher
- rollups-graphql-server
- rollups-hardhat
- rollups-indexer
- rollups-inspect-server
- rollups-state-server
steps:
- uses: vlaurin/[email protected]
with:
organization: cartesi
container: ${{ matrix.image }}
token: ${{ secrets.GITHUB_TOKEN }}
prune-untagged: false
keep-last: 0
prune-tags-regexes: |
^pr-${{ github.event.number }}$