Skip to content

Conversation

mahdikhashan
Copy link
Member

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2519

Checklist:

  • Docs included if any changes are user facing

Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
@mahdikhashan mahdikhashan force-pushed the migrate-docker-images-to-ghcr branch from 24a1d7a to 47bddb3 Compare February 27, 2025 11:29
@mahdikhashan
Copy link
Member Author

mahdikhashan commented Feb 27, 2025

/cc @kubeflow/wg-automl-leads @Electronic-Waste @varodrig

PTAL!

@google-oss-prow google-oss-prow bot requested review from a team and varodrig February 27, 2025 11:30
@mahdikhashan
Copy link
Member Author

please refer to this published image on my own user, https://github.com/mahdikhashan/katib/pkgs/container/katib-conformance

and this temp workflow where i disabled release branch check: https://github.com/mahdikhashan/katib/actions/runs/13565650050/job/37918014229

@google-oss-prow google-oss-prow bot added size/S and removed size/M labels Feb 27, 2025
@mahdikhashan mahdikhashan force-pushed the migrate-docker-images-to-ghcr branch from d9e30ac to 503fa11 Compare February 27, 2025 12:08
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
@mahdikhashan mahdikhashan force-pushed the migrate-docker-images-to-ghcr branch from 503fa11 to 213242d Compare February 27, 2025 12:08
Copy link
Member

@Electronic-Waste Electronic-Waste left a comment

Choose a reason for hiding this comment

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

@mahdikhashan Thanks for this! Just one comment for you.

uses: ./.github/workflows/template-publish-image
with:
image: docker.io/kubeflowkatib/${{ inputs.component-name }}
image: ghcr.io/kubeflowkatib/${{ inputs.component-name }}
Copy link
Member

Choose a reason for hiding this comment

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

I think, the naming convention in GHCR should be ghcr.io/<org name or user name>/....

So the second item between /s might need to be changed to kubeflow

Copy link
Member

Choose a reason for hiding this comment

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

@mahdikhashan, please address this one and push images both into DockerHub and GHCR.

Copy link
Member Author

Choose a reason for hiding this comment

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

sure, i'll do so.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think, the naming convention in GHCR should be ghcr.io/<org name or user name>/....

So the second item between /s might need to be changed to kubeflow

done.

Copy link
Member Author

Choose a reason for hiding this comment

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

@mahdikhashan, please address this one and push images both into DockerHub and GHCR.

done. please take a look when you have time. thanks.

@Electronic-Waste
Copy link
Member

And maybe we should also fix the image reference under manifests/, examples/, pkg/, test/ and hack/.

@mahdikhashan
Copy link
Member Author

And maybe we should also fix the image reference under manifests/, examples/, pkg/, test/ and hack/.

tnx for your review Shao, will address them asap.

@mahdikhashan
Copy link
Member Author

i assume here i also need to consider both dockerhub and ghcr, please correct me if i'm wrong. otherwise, i will change it to have both.

@varodrig @andreyvelich ..

@mahdikhashan
Copy link
Member Author

And maybe we should also fix the image reference under manifests/, examples/, pkg/, test/ and hack/.

possibly tests will fail, we created a separate pr for manifests for trainer, I'll do so here as well to prevent merge blocking.

Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
@google-oss-prow google-oss-prow bot added size/M and removed size/S labels Mar 17, 2025
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
@mahdikhashan
Copy link
Member Author

And maybe we should also fix the image reference under manifests/, examples/, pkg/, test/ and hack/.

this is being addressed here #2529

cc: @Electronic-Waste

@Electronic-Waste
Copy link
Member

/rerun-all

@saileshd1402
Copy link
Contributor

Please combine the Dockerhub and GHCR CI jobs like done here: kubeflow/trainer#2537

@mahdikhashan
Copy link
Member Author

Please combine the Dockerhub and GHCR CI jobs like done here: kubeflow/trainer#2537

for sure, thanks for bringing this to my attention. i'll do it asap.

Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
@mahdikhashan
Copy link
Member Author

/cc @kubeflow/wg-automl-leads @Electronic-Waste @saileshd1402

PTAL!

Copy link

@mahdikhashan: GitHub didn't allow me to request PR reviews from the following users: saileshd1402.

Note that only kubeflow members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @kubeflow/wg-automl-leads @Electronic-Waste @saileshd1402

PTAL!

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Signed-off-by: mahdikhashan <mahdikhashan1@gmail.com>
image: docker.io/kubeflowkatib/${{ inputs.component-name }}
image: |
ghcr.io/kubeflow/katib/${{ inputs.component-name }}
docker.io/kubeflow/katib/${{ inputs.component-name }}
Copy link
Member

Choose a reason for hiding this comment

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

This should be kubeflowkatib

Copy link
Member Author

Choose a reason for hiding this comment

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

i'll revert it to prevent docker failure. thanks for bringing this up.

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.

image: docker.io/kubeflowkatib/${{ inputs.component-name }}
image: |
ghcr.io/kubeflow/katib/${{ inputs.component-name }}
docker.io/kubeflow/katib/${{ inputs.component-name }}
Copy link
Member

Choose a reason for hiding this comment

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

ditto

Copy link
Member Author

Choose a reason for hiding this comment

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

i'll revert it to prevent docker failure. thanks for bringing this up.

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 <mahdikhashan1@gmail.com>
Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

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

Thanks for doing this @mahdikhashan!
/lgtm
/approve

Let's cherry-pick this PR if images are published.

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich

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

The pull request process is described 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

@google-oss-prow google-oss-prow bot merged commit 1f76bb3 into kubeflow:master Mar 18, 2025
66 checks passed
@andreyvelich
Copy link
Member

/cherry-pick release-0.18

@google-oss-robot
Copy link

@andreyvelich: new pull request created: #2531

In response to this:

/cherry-pick release-0.18

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate images in Dockerhub to GHCR

6 participants