Skip to content

refactor: Docker build system #79

refactor: Docker build system

refactor: Docker build system #79

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Clean-up Docker images
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:
- rollups-node
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 }}$