Skip to content

[feature]: migrate docker image push to ghcr #689

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mahdikhashan
Copy link
Member

@google-oss-prow google-oss-prow bot requested review from gaocegege and zw0610 April 4, 2025 16:50
Signed-off-by: mahdikhashan <[email protected]>
@mahdikhashan mahdikhashan force-pushed the migrate-images-to-ghcr branch from 3e71125 to 3e5152e Compare April 4, 2025 16:50
Signed-off-by: mahdikhashan <[email protected]>
@google-oss-prow google-oss-prow bot added size/XS and removed size/S labels Apr 4, 2025
@@ -26,6 +26,7 @@ jobs:
with:
images: |
${{ env.IMAGE_NAME }}
ghcr.io/${{ env.IMAGE_NAME }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mahdikhashan You will need to store this image under ghcr.io/kubeflow/mpi-operator/controller.

Note that IMAGE_NAME: mpioperator/mpi-operator so using that variable will not work.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Signed-off-by: mahdikhashan <[email protected]>
@tenzen-y
Copy link
Member

@mahdikhashan I fixed CI errors in a separate place. Could you rebase this one?

@mahdikhashan
Copy link
Member Author

@mahdikhashan I fixed CI errors in a separate place. Could you rebase this one?

sure, is it already merged to master? or would you share the branch?

@tenzen-y
Copy link
Member

@mahdikhashan I fixed CI errors in a separate place. Could you rebase this one?

sure, is it already merged to master? or would you share the branch?

Fixes has already merged into the master branch.

Copy link
Member

@thesuperzapper thesuperzapper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you also need to update your deployment manifests to use this new image?

The goal is that we use GHCR by default, as it does not have limits.

@tenzen-y
Copy link
Member

Don't you also need to update your deployment manifests to use this new image?

The goal is that we use GHCR by default, as it does not have limits.

Yes, we need to replace it everywhere. Additionally, I think we need to address every images including MPI base images

REGISTRY?=docker.io/mpioperator

@mahdikhashan
Copy link
Member Author

I'll update it.

@tenzen-y
Copy link
Member

Furthermore, could you update docs as well?

We push Docker images of [mpioperator on Dockerhub](https://hub.docker.com/u/mpioperator) for every release.

Signed-off-by: mahdikhashan <[email protected]>
@mahdikhashan mahdikhashan force-pushed the migrate-images-to-ghcr branch from 33df974 to b6045a2 Compare April 14, 2025 16:51
@google-oss-prow google-oss-prow bot added size/S and removed size/XS labels Apr 14, 2025
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tenzen-y for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mahdikhashan
Copy link
Member Author

@tenzen-y i think we need to update the image usage in the separate pr. shall i open another one and merge it after we merge this one?

@tenzen-y
Copy link
Member

@tenzen-y i think we need to update the image usage in the separate pr. shall i open another one and merge it after we merge this one?

Sure

@mahdikhashan
Copy link
Member Author

@tenzen-y it seems to be ready, the other pr is #698 .

also, i'm not sure what i need to do with other images here: https://hub.docker.com/u/mpioperator, please let me know. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload container images to Github Container Registry
3 participants