kaniko icon indicating copy to clipboard operation
kaniko copied to clipboard

Cache repo cannot contain a port

Open iamkhalidbashir opened this issue 1 year ago • 0 comments

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

iamkhalidbashir avatar Aug 23 '22 15:08 iamkhalidbashir