mirror of
https://github.com/skoelle/calender_sync.git
synced 2026-09-17 18:20:24 +00:00
fix: increase min-versions-to-keep to 4 to preserve latest image
This commit is contained in:
@@ -39,4 +39,18 @@ jobs:
|
|||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
|
cleanup-old-images:
|
||||||
|
needs: build-and-push
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Delete old, untagged image versions
|
||||||
|
uses: actions/delete-package-versions@v5
|
||||||
|
with:
|
||||||
|
package-name: ${{ github.event.repository.name }}
|
||||||
|
package-type: container
|
||||||
|
min-versions-to-keep: 4
|
||||||
|
delete-only-untagged-versions: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user