Skip to content

dockerfile

dockerfile #1

Workflow file for this run

name: Remove old docker images
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1' # Every week
push:
branches:
- main
paths:
- .github/workflows/rm-old-image.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
remove-old-images:
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v4
with:
package-name: ${{ github.event.repository.name }}
package-type: 'container'
min-versions-to-keep: 3