containerregistry
containerregistry copied to clipboard
Parsing tag in images to when registry is specified does not work as expected
I was trying to use a local docker registry listening on localhost:5000 and I discovered that I couldn't use the client with images which name contains the port:
Eg: localhost:5000/jszroberto/bazel-test
The reason is that the code identifies everything after the colon as the image tag.
Error:
Invalid tag: 5000/jszroberto/bazel-test, acceptable characters include:
Related to https://github.com/bazelbuild/rules_k8s/issues/131#issuecomment-387409202