-
Notifications
You must be signed in to change notification settings - Fork 668
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
Docker package page shows incorrect default suggestion #7458
Comments
The API shows them in the order they're published :( |
Can we just publish the "right" one a second time after all the rest? |
Yes, I was thinking about that too, adding a final job to re-publish. |
I gave it a try and it didn't quite work as I expected, GitHub seems to sort based on when digests get pushed, so re-doing the |
I found a trick by leveraging annotations proposed in #7568 by which makes this achievable. |
## Summary Closes #7458 This change adds a new job at the end of docker publish which adds annotations the primary image digests in order to make ghcr.io rank `ghcr.io/astral-sh/uv` at the top once again. The solution is to annotate the index at the end during a re-publish to make ghcr.io consider it a more updated entry than the others and rank it at the top once again. ## Test Plan Tested on release run on my own fork * Packages: https:/samypr100/uv/pkgs/container/uv will show `ghcr.io/astral-sh/uv` first once again * Run: https:/samypr100/uv/actions/runs/10951404736
I would expect at least the latest Python version? And probably not a specific variant?
This seems like it might be a pain to fix.
cc @samypr100
The text was updated successfully, but these errors were encountered: