Migrate Docker image from Docker Hub to GitHub Container Registry#62
Conversation
Updated Docker login action to use ACCESS_TOKEN instead of GITHUB_TOKEN.
|
@yoriiis the action has now run, I don't see any published package on my side, but maybe you should also double check on your side? |
|
Thanks for the merge!
It seems that packages are private by default. You can change this setting from the packages page (from the repository or your user), I think. |
|
I don't see it in my account either, privately or publicly |
|
I checked with Docker CLI and the package seems to exist docker manifest inspect ghcr.io/danharrin/monorepo-split:latest
# Returns: unauthorisedWith an unknown package, the return is To make it public, can you access https://github.com/danharrin?tab=packages, you should see the package. Then there are settings to change (visibility and linked repository). |
|
Interesting, that wasn't there yesterday, it must have been cached or something. I've made it public now. |
It works, thanks |
|
Currently, only the |
|
Yeah feel free to PR |
Following the discussion in #58 (comment), this PR proposes publishing the Docker image on GitHub Container Registry rather than Docker Hub following a change in project ownership.
The implementation guide, Publishing a package using an action is more complex and uses additional packages. To facilitate migration, I only made the necessary changes based on the current version of the workflow.
I also updated the packages for the workflows I edited.