Use cartesi/sdk for anvil/devnet at run command #3
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: PR - cleanup ghcr.io/cartesi/${{ matrix.image }}:pr-${{ github.event.number }} images | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
strategy: | |
matrix: | |
image: | |
- sdk | |
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 }}$ |