Skip to content

Commit 8d21af9

Browse files
committed
docker: update package cleanup settings
Change the package name format for GitHub Packages cleanup to include the registry URL and increase the minimum versions to keep from 1 to 5. Signed-off-by: Chiho Sin <[email protected]>
1 parent bbc443d commit 8d21af9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
if: ${{ inputs.push }}
9191
uses: actions/delete-package-versions@v4
9292
with:
93-
package-name: ${{ github.repository }}
93+
package-name: ghcr.io/${{ github.repository }}
9494
package-type: container
95-
min-versions-to-keep: 1
95+
min-versions-to-keep: 5
9696
delete-only-untagged-versions: true

0 commit comments

Comments
 (0)