This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
Quorum consensus #76
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: 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 }}$ |