Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this tool even work? #61

Open
ukch opened this issue Jul 27, 2022 · 1 comment
Open

Does this tool even work? #61

ukch opened this issue Jul 27, 2022 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@ukch
Copy link

ukch commented Jul 27, 2022

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)

@lpsm-dev
Copy link
Owner

Hi @ukch!

This CLI is under development, I haven't had the opportunity to gen a stable version yet :(.

If you want to help, feel free!

Thx! \o/

@lpsm-dev lpsm-dev self-assigned this Sep 27, 2022
@lpsm-dev lpsm-dev added the question Further information is requested label Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants