Add automated cleanup of docker images

This commit is contained in:
Benjamin Harder
2024-05-14 18:54:00 +02:00
parent 3b4b12de0f
commit b5eee592b3

View File

@@ -73,3 +73,10 @@ jobs:
--build-arg SHORT_COMMIT_ID=$SHORT_COMMIT_ID \
--push \
- name: "Clean up docker images"
uses: dataaxiom/ghcr-cleanup-action@v1.0.1
with:
keep-n-tagged: 10
exclude-tags: dev
dry-run: true
token: ${{secrets.GITHUB_TOKEN}}