Process YAML File step of the Kubernetes plugin throwing error if the image name has / slash Process YAML File step of the Kubernetes plugin throwing error if the image name has / slash kubernetes kubernetes

Process YAML File step of the Kubernetes plugin throwing error if the image name has / slash


According to the official documentation of Docker Registry HTTP API V2

A repository name is broken up into path components. A component of a repository name must be at least one lowercase, alpha-numeric characters, optionally separated by periods, dashes or underscores. More strictly, it must match the regular expression [a-z0-9]+(?:[._-][a-z0-9]+)*. If a repository name has two or more path components, they must be separated by a forward slash (“/”). The total length of a repository name, including slashes, must be less than 256 characters.

Please make sure you are using Docker Registry HTTP API V2 and follow all the above rules.

While the V1 registry protocol is usable, there are several problems with the architecture that have led to V2.

Additionally, you can try to use Docker Tag

Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

More info with examples lined above.

Please let me know if that helped.