diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 752909ec3..e64f80e9c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,3 +22,9 @@ jobs: with: push: true tags: ghcr.io/codegrade/hourglass:${{ github.ref_name }}-${{ github.sha }} + - name: Cleanup old images + uses: actions/delete-package-versions@v4 + with: + package-name: 'hourglass' + package-type: 'container' + min-versions-to-keep: 20 \ No newline at end of file