Skip to content

Comments

Migrate Docker image from Docker Hub to GitHub Container Registry#62

Merged
danharrin merged 3 commits intodanharrin:mainfrom
yoriiis:migrate-to-github-container-registry
Jan 27, 2026
Merged

Migrate Docker image from Docker Hub to GitHub Container Registry#62
danharrin merged 3 commits intodanharrin:mainfrom
yoriiis:migrate-to-github-container-registry

Conversation

@yoriiis
Copy link
Contributor

@yoriiis yoriiis commented Jan 23, 2026

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.

@danharrin danharrin enabled auto-merge (squash) January 27, 2026 08:29
@danharrin danharrin disabled auto-merge January 27, 2026 08:29
@danharrin danharrin merged commit 49b6971 into danharrin:main Jan 27, 2026
2 of 4 checks passed
@danharrin
Copy link
Owner

@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?

@yoriiis
Copy link
Contributor Author

yoriiis commented Jan 27, 2026

Thanks for the merge!

@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?

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.

https://docs.github.com/en/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility

@yoriiis yoriiis deleted the migrate-to-github-container-registry branch January 27, 2026 18:32
@danharrin
Copy link
Owner

I don't see it in my account either, privately or publicly

@yoriiis
Copy link
Contributor Author

yoriiis commented Jan 28, 2026

I checked with Docker CLI and the package seems to exist

docker manifest inspect ghcr.io/danharrin/monorepo-split:latest
# Returns: unauthorised

With an unknown package, the return is denied.

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).

@danharrin
Copy link
Owner

Interesting, that wasn't there yesterday, it must have been cached or something. I've made it public now.

@yoriiis
Copy link
Contributor Author

yoriiis commented Jan 28, 2026

Interesting, that wasn't there yesterday, it must have been cached or something. I've made it public now.

It works, thanks

@yoriiis
Copy link
Contributor Author

yoriiis commented Jan 28, 2026

Currently, only the latest tag is published, even if the event that triggers the workflow is a tag. Could we also publish the tagged version in addition to latest?
I can provide a PR if necessary

@danharrin
Copy link
Owner

Yeah feel free to PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants