Skip to content
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

Move container registry to DockerHub #514

Merged
merged 9 commits into from
Oct 12, 2023
Merged

Conversation

RobbeSneyders
Copy link
Member

@RobbeSneyders RobbeSneyders commented Oct 12, 2023

Fixes #495

This PR moves everything to use DockerHub as our container registry instead of Github container registry. This is necessary to support managed pipeline services such as Vertex AI and Sagemaker.

As an improvement, the README of the component is now pushed as well. Example.

The "fondant" organization is unfortunately taken on DockerHub, and we can only request a transfer if we hold a US trademark on the name. Maybe something for the future. For now, I went with "fndnt".

@RobbeSneyders
Copy link
Member Author

Tested a pipeline both locally and on KfP. Both work with the new registry 🎉

@RobbeSneyders RobbeSneyders marked this pull request as ready for review October 12, 2023 13:06
Copy link
Contributor

@PhilippeMoussalli PhilippeMoussalli left a comment

Choose a reason for hiding this comment

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

Thanks Robbe! is fondant namespace taken in Docker?

.github/workflows/build.yaml Show resolved Hide resolved
scripts/build_components.sh Outdated Show resolved Hide resolved
scripts/build_components.sh Show resolved Hide resolved
@RobbeSneyders
Copy link
Member Author

Yes, the fondant namespace is taken unfortunately. I will document this in the issue with some more info.

Copy link
Contributor

@mrchtr mrchtr left a comment

Choose a reason for hiding this comment

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

I think in the sample pipelines are still some image references not correct.

components/download_images/fondant_component.yaml Outdated Show resolved Hide resolved
@@ -1,6 +1,6 @@
name: Clean captions
description: Component that filters out bad captions (Empty captions, Captions with weird characters, Captions that are dates)
image: ghcr.io/ml6team/clean_captions:50f3a97878ac81670ebe624039ff0fcec0542e4f
image: fndnt/clean_captions:50f3a97878ac81670ebe624039ff0fcec0542e4f
Copy link
Contributor

Choose a reason for hiding this comment

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

This one I can't see on docker hub. I think the example pipeline images are not pushed to docker hub?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, they are not built automatically. But the updated build script will push them there for you. So it's the same flow as before.

@RobbeSneyders RobbeSneyders merged commit 4d26b84 into main Oct 12, 2023
4 checks passed
@RobbeSneyders RobbeSneyders deleted the feature/docker-hub branch October 12, 2023 15:29
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.

Move image repository to DockerHub
3 participants