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

Failed to push images after building them #4206

Closed
hezhizhen opened this issue Sep 6, 2023 · 3 comments
Closed

Failed to push images after building them #4206

hezhizhen opened this issue Sep 6, 2023 · 3 comments

Comments

@hezhizhen
Copy link
Contributor

hezhizhen commented Sep 6, 2023

I'm using buildkitd (v0.12.0) on the host and run buildctl (v0.12.1) commands to build images and push them to the private registry. Sometimes it fails and the logs are as follows:

[2023-09-06 17:12:48.593]  #20 exporting to image
[2023-09-06 17:12:48.593]  #20 exporting layers 3.2s done
[2023-09-06 17:12:48.593]  #20 exporting manifest sha256:b125554aefecc2a74a51a277b95e5d57e6fe9e6ceb2c6174f9bf4cb4c0965a04 done
[2023-09-06 17:12:48.593]  #20 exporting config sha256:d118e36f22a839b64845672604ef60be8b4c75413019f53b852c91ac21b6366c done
[2023-09-06 17:12:48.593]  #20 naming to ***.********.**/****-****-**/****-****:37d282a18519fbf68638e5cdfc40be07cb3eac39-*** done
[2023-09-06 17:12:48.593]  #20 pushing layers
[2023-09-06 17:12:48.744]  #20 pushing layers 0.2s done
[2023-09-06 17:12:48.744]  #20 ERROR: failed to push ***.********.**/****-****-**/****-****:37d282a18519fbf68638e5cdfc40be07cb3eac39-nyx: content digest sha256:8728ce3f8dfb1930b7c5c23f9ef001ae50f0691163d36b26c68a9fed1778314b: not found
[2023-09-06 17:12:48.744] 
[2023-09-06 17:12:48.744]  #22 [auth] ****-****-**/****:pull ****-****-**/****-****:pull,push token for ***.********.**
[2023-09-06 17:12:48.744]  #22 DONE 0.0s
[2023-09-06 17:12:48.744] 
[2023-09-06 17:12:48.744]  #23 [auth] ****-****-**/****-****-***:pull ****-****-**/****-****:pull,push token for ***.********.**
[2023-09-06 17:12:48.744]  #23 DONE 0.0s
[2023-09-06 17:12:48.807]  ------
[2023-09-06 17:12:48.807]  > exporting to image:
[2023-09-06 17:12:48.807]  ------
[2023-09-06 17:12:48.809]  error: failed to solve: failed to push ***.********.**/****-****-**/****-****:37d282a18519fbf68638e5cdfc40be07cb3eac39-***: content digest sha256:8728ce3f8dfb1930b7c5c23f9ef001ae50f0691163d36b26c68a9fed1778314b: not found

Any advice will be appreciated.

@hezhizhen
Copy link
Contributor Author

It's quite like #3809 , but I suppose there's some slight difference in our cases.

@tonistiigi
Copy link
Member

Can you test with #4210 ?

@hezhizhen
Copy link
Contributor Author

Can you test with #4210 ?

Okay. I'll try it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants