generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Title says it all.
name: Container registry cleanup flow.
run-name: Cleaning up old images
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch: {}
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/[email protected]
with:
delete-only-untagged-versions: true
package-name: 'custampimages/ampcust'
package-type: 'container'
owner: 'Hacksawfred3232'
min-versions-to-keep: 0
- uses: actions/[email protected]
with:
package-name: 'custampimages/ampcust'
package-type: 'container'
min-versions-to-keep: 9
owner: 'Hacksawfred3232'
ignore-versions: '^srb2$|^srb2kart$|^ringracers$'
Run actions/[email protected]
with:
delete-only-untagged-versions: true
package-name: custampimages/ampcust
package-type: container
owner: Hacksawfred3232
min-versions-to-keep: 0
num-old-versions-to-delete: 1
ignore-versions: ^$
delete-only-pre-release-versions: false
token: ***
Total versions deleted till now: 12
Error: delete version API failed. Package not found.
11 versions deleted till now.
Metadata
Metadata
Assignees
Labels
No labels