We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a687e commit 65c1bbaCopy full SHA for 65c1bba
1 file changed
.github/workflows/production.yml
@@ -88,14 +88,9 @@ jobs:
88
- name: Push with commit php8-review tag
89
run: docker push ghcr.io/linkorb/${{ env.CI_REPOSITORY_NAME }}:php8-review
90
91
- - name: Delete old unused container images
92
- uses: snok/container-retention-policy@v1
+ - name: Delete old versions of the package, keeping a few of the newest
+ uses: actions/delete-package-versions@v4
93
with:
94
- image-names: "${{ env.CI_REPOSITORY_NAME }}"
95
- cut-off: A month ago UTC
96
- account-type: org
97
- org-name: linkorb
98
- keep-at-least: 10
99
- skip-tags: latest
100
- untagged-only: false
101
- token: ${{ secrets.GITHUB_TOKEN }}
+ package-name: ${{ env.CI_REPOSITORY_NAME }}
+ package-type: container
+ min-versions-to-keep: 8
0 commit comments