dotnet / nuget-trends

Check out NuGet packages adoption and what's trending on NuGet.
https://nugettrends.com
MIT License
144 stars 25 forks source link

Publish containers to ghcr instead of docker hub #221

Closed bruno-garcia closed 7 months ago

bruno-garcia commented 1 year ago

Docker Hub announced:

Docker is sunsetting Free Team organizations

Lets publish containers to ghcr instead. To create the repository (first push), GITHUB_TOKEN isn't enough.

Live version is off of images built with these changes: https://github.com/bruno-garcia/nuget-trends/pull/1 Published on a fork due to lack of access to publish on this org: https://github.com/bruno-garcia/nuget-trends/packages

An org admin will have rights to do that here: https://github.com/dotnet/nuget-trends/settings/actions

image

Once the first push is created I believe it can be returned to read only. It'll show up here: https://github.com/users/dotnet/packages/container/nuget-trends/settings (testing with my fork)

By default it'll show the repo as admin to the package:

image
bruno-garcia commented 7 months ago

Docker Hub is working fine now