chore(ci): automatically cleanup untagged images

This commit is contained in:
Matthias
2025-09-07 09:16:58 +02:00
parent 6ab731acdb
commit 8686b56b9e
2 changed files with 16 additions and 1 deletions

View File

@@ -588,3 +588,10 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
packages-cleanup:
name: "Docker Package Cleanup"
uses: ./.github/workflows/packages-cleanup.yml
with:
package_name: 'freqtrade'

View File

@@ -1,6 +1,14 @@
name: Cleanup Packages
on:
workflow_call:
inputs:
package_name:
description: 'Package name to clean up'
required: false
default: 'freqtrade'
type: string
workflow_dispatch:
inputs:
package_name:
@@ -12,7 +20,7 @@ on:
- 'freqtrade'
- 'freqtrade-devcontainer'
delete-untagged:
description: 'Whether to delete untagged images'
description: 'Whether to delete only untagged images'
required: false
default: true
type: boolean