kaniko
kaniko copied to clipboard
Cache repo cannot contain a port
Describe the bug
When using the --cache-repo flag, passing a private repo URL containing a port in the URL throws an error
WARN[0452] error uploading layer to cache: getting a tag for destination: repository can only contain the runes `abcdefghijklmnopqrstuvwxyz0123456789_-./`: host.docker.internal:6000
To Reproduce
Use the --cache-repo flag, passing a private repo URL containing a port in the URL
Expected behavior
Should allow url
Referenced: https://github.com/google/go-containerregistry/issues/1441