Skip to content

Commit fb5ef26

Browse files
author
sapcc-bot
committed
Run go-makefile-maker
1 parent 584a1c2 commit fb5ef26

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/container-registry-ghcr.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,18 @@ jobs:
5454
platforms: linux/amd64,linux/arm64
5555
push: true
5656
tags: ${{ steps.meta.outputs.tags }}
57+
cleanup-untagged-versions:
58+
name: Cleanup untagged GHCR versions
59+
needs:
60+
- build-and-push-image
61+
runs-on: ubuntu-latest
62+
steps:
63+
- name: Check out code
64+
uses: actions/checkout@v5
65+
- name: Cleanup untagged GHCR versions
66+
uses: actions/delete-package-versions@v5
67+
with:
68+
delete-only-untagged-versions: "true"
69+
min-versions-to-keep: "0"
70+
package-name: ${{ github.event.repository.name }}
71+
package-type: container

0 commit comments

Comments
 (0)