Skip to content

Commit

Permalink
ci: Purge old untagged container images
Browse files Browse the repository at this point in the history
We were piling them up for too long, up to a thousand of them. There is
simple mitigation, though, just run the delete-package-versions action
on them.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
jan-kiszka committed Mar 4, 2024
1 parent 21feb79 commit f5055b2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,18 @@ jobs:
DEBIAN_TAG=${{ env.DEBIAN_TAG }}
outputs: type=registry,rewrite-timestamp=true
tags: ghcr.io/siemens/kas/kas-isar:next

- name: Purge oldest untagged kas images
uses: actions/delete-package-versions@v4
with:
package-name: kas
package-type: container
min-versions-to-keep: 10
delete-only-untagged-versions: true
- name: Purge oldest untagged kas-isar images
uses: actions/delete-package-versions@v4
with:
package-name: kas-isar
package-type: container
min-versions-to-keep: 10
delete-only-untagged-versions: true

0 comments on commit f5055b2

Please sign in to comment.