Skip to content

ko is unable to push to a registry with a host and port number #93

@scothis

Description

@scothis

When attempting to push images to a registry that uses a hostname and port (like registry.kube-system.svc.cluster.local:5000), ko fails with the following error:

2019/10/01 15:04:17 error creating publisher: failed to parse environment variable KO_DOCKER_REPO="registry.kube-system.svc.cluster.local:5000" as repository: repository can only contain the runes `abcdefghijklmnopqrstuvwxyz0123456789_-./`: registry.kube-system.svc.cluster.local:5000

A hostname and port is a valid registry and should be accepted by ko

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions