Streamline Container Image Management with GitHub Container Registry and ZenML
Seamlessly integrate GitHub Container Registry with ZenML to efficiently store, manage, and access your container images from your personal or organization GitHub account. This integration simplifies the deployment of containerized ML components, making it an ideal choice for teams already leveraging GitHub for their projects.
from zenml import pipeline, step
# Ensure you have the GitHub integration installed
# zenml integration install github -y
# Register the GitHub Container Registry
# zenml container-registry register github_registry \\
# --flavor=github \\
# --uri=ghcr.io/my-org
# Add the container registry to your active stack
# zenml stack update -c github_registry
@step
def my_containerized_step():
print("This step runs in a container from GitHub registry")
@pipeline
def github_registry_pipeline():
my_containerized_step()
if __name__ == "__main__":
github_registry_pipeline()
Expand your ML pipelines with more than 50 ZenML Integrations