Cannot push to registry without port 80 #1579
Labels
area/registry
For all bugs having to do with pushing/pulling into registries
area/security
issue/port
kind/bug
Something isn't working
ok-to-close?
possible-dupe
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
priority/p2
High impact feature/bug. Will get a lot of users happy
Actual behavior
Somewhat similar to #1157 but I cannot seem to tell kaniko to use port 443 for pushing an image in any way.
Trying to push an image to an internal registry, I am getting an error:
Running internal Gitlab with runner + registry, no port 80 open (should not be a requirement IMHO)
Relevant lines from build log:
Tried to give the https endpoint in the configuration file in various ways, but could not get it to work:
CI_REGISTRY="registry.internal.local"
{\"auths\":{\"https://$CI_REGISTRY/v2/\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
Expected behavior
I expect to be able to push to a private Gitlab registry without port 80
To Reproduce
Steps to reproduce the behavior:
Additional Information
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: