Behavior
I am trying to use this tool to prune old images from ghcr repository: I run this command:
$ /bin/drprune gh images -n $GH_ORG_NAME -t "$GH_TOKEN" -c $IMAGE_NAME
██╗███╗ ███╗ █████╗ ██████╗ ███████╗███████╗
██║████╗ ████║██╔══██╗██╔════╝ ██╔════╝██╔════╝
██║██╔████╔██║███████║██║ ███╗█████╗ ███████╗
██║██║╚██╔╝██║██╔══██║██║ ██║██╔══╝ ╚════██║
██║██║ ╚═╝ ██║██║ ██║╚██████╔╝███████╗███████║
╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚══════╝
INFO[2022-07-27_18:17:31] ✅ Package: xxxxxx/xxxxxxx
INFO[2022-07-27_18:17:31] ✅ We have 232 versions in this package
No matter what args I run this with, the number 232 does not change. So I'm wondering, does this tool even do what it's supposed to, or is it just a prototype?
Expected behavior
Old images should be deleted from GHCR
Actual behavior
Nothing is deleted
Environment
I am using the latest main version, built using make build on Ubuntu 20.04 (snap version of golang, v1.18.3)
Behavior
I am trying to use this tool to prune old images from ghcr repository: I run this command:
No matter what args I run this with, the number 232 does not change. So I'm wondering, does this tool even do what it's supposed to, or is it just a prototype?
Expected behavior
Old images should be deleted from GHCR
Actual behavior
Nothing is deleted
Environment
I am using the latest
mainversion, built usingmake buildon Ubuntu 20.04 (snap version of golang, v1.18.3)