Skip to content

Push images with dash in image namespace name #93

@HelmutZechmann

Description

@HelmutZechmann

Hi,
when I try to push an image with a dash in the namespace name using DockerPushImage, I get the following error message:

Invalid namespace name (cdh-images), only [a-z0-9_] are allowed, size between 4 and 30

The follwoing does not work:

task pushWithDatasetManagementImage(type: DockerPushImage) {
    imageName '<repository-ip>:5000/cdh-images/dashes-are-allowed-here'
}

This works:

docker push <repository-ip>:5000/cdh-images/dashes-are-allowed-here

This works:

task pushWithDatasetManagementImage(type: DockerPushImage) {
    imageName '<repository-ip>:5000/cdh_images/dashes-are-allowed-here'
}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions