mirror of
https://github.com/skoelle/calender_sync.git
synced 2026-09-18 02:30:24 +00:00
fix: remove cleanup job that deleted latest image
This commit is contained in:
@@ -39,17 +39,4 @@ 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: 1
|
|
||||||
delete-only-untagged-versions: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user