Skip to content
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

Error while pushing image to docker registry #1792

Open
pagarwal-tibco opened this issue Oct 20, 2021 · 5 comments
Open

Error while pushing image to docker registry #1792

pagarwal-tibco opened this issue Oct 20, 2021 · 5 comments
Labels
issue/push-fails kind/bug Something isn't working needs-follow-up ok-to-close? 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 registry/gcr

Comments

@pagarwal-tibco
Copy link

Actual behavior
Kaniko executor fails to push docker image to docker registry with following errors,

error pushing image: failed to push to destination <docker-registry>/smgkzu3now3rgfr23anyqyw5pb7qvspl/dhlzytzp5mo6rctmhoxtdjqk6sokzrs5:1634629741400: Put "https://<docker-registry>/v2/smgkzu3now3rgfr23anyqyw5pb7qvspl/dhlzytzp5mo6rctmhoxtdjqk6sokzrs5/blobs/uploads/194ad990-a8e0-44e9-9103-9b6897c6ed85?_state=WPAcDMaVHspFUAyVDrtc4FMnKrTjAMt1SIes6S0dBk97Ik5hbWUiOiJzbWdrenUzbm93M3JnZnIyM2FueXF5dzVwYjdxdnNwbC9kaGx6eXR6cDVtbzZyY3RtaG94dGRqcWs2c29renJzNSIsIlVVSUQiOiIxOTRhZDk5MC1hOGUwLTQ0ZTktOTEwMy05YjY4OTdjNmVkODUiLCJPZmZzZXQiOjE2ODAsIlN0YXJ0ZWRBdCI6IjIwMjEtMTAtMTlUMDc6NTE6NDZaIn0%3D&digest=sha256%3Ad4994d1457fde9ea9816f8a18df540a873dc93e572cca0e9262111b088d6115b": EOF

Expected behavior
Docker image should be successfully pushed to docker registry

To Reproduce
I am trying to reduce the complexity of Dockerfile. But till then if someone can help with pointers then that would be really helpful.

Description Yes/No
Please check if this a new feature you are proposing
  • - [No]
Please check if the build works in docker but not in kaniko
  • - [Yes]
Please check if this error is seen when you use --cache flag
Please check if your dockerfile is a multistage dockerfile
@macrotex
Copy link

Having a similar issue with 1.7.0 pushing to Google Container Registry. Version 1.6.0 works fine.

@ahmedzidan
Copy link

This issue is similar to #1209
one thing that is working with me is to change the image to mgit/base:kaniko-executor-debug-stable

@neko1437
Copy link

Having a similar issue with 1.7.0 pushing to Google Container Registry. Version 1.6.0 works fine.

I am also having the exact same issue while pushing to Google Container Registry with v1.7.0

@aaron-prindle
Copy link
Collaborator

Can anyone in the thread here confirm if this is still happening to them with the latest version of kaniko - "v1.11.0"?

@aaron-prindle aaron-prindle added kind/bug Something isn't working needs-discussion Items which need more discussion before commitment needs-follow-up ok-to-close? issue/push-fails priority/p2 High impact feature/bug. Will get a lot of users happy priority/p1 Basic need feature compatibility with docker build. we should be working on this next. and removed needs-discussion Items which need more discussion before commitment labels Jun 25, 2023
@celorodovalho
Copy link

@aaron-prindle

Still happening on 1.21.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/push-fails kind/bug Something isn't working needs-follow-up ok-to-close? 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 registry/gcr
Projects
None yet
Development

No branches or pull requests

6 participants