c

    Cab Maddux

    2 months ago
    Hi! I'm trying to use the Orion python API
    prefect.packaging.docker.DockerPackager
    class and have it push to Google Container Registry. It looks like the current
    package()
    method is unable to push to GCR because the
    prefect.docker.push_image
    here ignores any path provided in the registry url. So it looks to me like if I provide a
    registry_url
    like
    <https://gcr.io/my-project-name>
    (where
    my-project-name
    is a GCP project) for a flow named
    my-flow
    rather than pushing an image to
    <http://gcr.io/my-project-name/my-flow|gcr.io/my-project-name/my-flow>
    the current implementation will try to push to
    <http://gcr.io/my-flow|gcr.io/my-flow>
    (which fails because I don't have a project named
    my-flow
    ). Wondering if I'm missing something here or maybe this should go into an issue?
    To demonstrate issue with linked LoC in case useful
    Anna Geller

    Anna Geller

    2 months ago
    Pushing to a registry doesn't work yet, we are aware and hopefully this will be fixed in the next release
    c

    Cab Maddux

    2 months ago
    Sounds good, thanks!