-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kaniko doesn't work with an HTTP registry build on Nexus OSS #667
Comments
same issue,any update? |
it seems like the /kaniko/executor -f /myproj/Dockerfile -c /myproj --insecure --skip-tls-verify --destination="docker.abc.com:5000/temp/myimage" --verbosity debug
error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "docker.abc.com:5000/temp/myimage:latest": Get https://docker.abc.com:5000/v2/: http: server gave HTTP response to HTTPS client but this is work: /kaniko/executor -f /myproj/Dockerfile -c /myproj --insecure --skip-tls-verify --destination="docker.abc.com/temp/myimage" --verbosity debug |
Facing same issue, can't test workaround suggested above because the registry image comes in via environment variables from Gitlab CI.
|
#685 should fix this when using the Insecure or InsecureRegistries flag |
Merged #685, closing... |
Using HTTPS we are facing the same issue. We cannot push the image to a nexus OSS Version(OSS 3.49.0-02) using gcr.io/kaniko-project/executor:v1.14.0-debug Using username password auth we are facing:
See: #3099 |
Actual behavior
kaniko doesn't work with HTTP registry build on Nexus OSS 3
To Reproduce
Nexus OSS is configure to be used as a private Docker repo with HTTP connector
The registry work well with the docker standard commands (login/push) and the tag insecure-registry into daemon.json
I'm using the gcr.io/kaniko-project/executor:debug and the following commands :
The text was updated successfully, but these errors were encountered: