-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
when using --cache=true
, kaniko fail to push cache layer and (sometimes) fail to push image
#1459
Comments
after investigation, a workaround is: specifying
I would expect from kaniko to have an error about it (if thats the desired behavior) |
experiencing the same issue, seems random |
experiencing the same issue. Added
Removing Seems using In GitLab CI,
|
I am experiencing something similar. When I specify both My use case is building a base image which shares a common cache repository with downstream stages to reduce build time. |
Enables caching from the qemu-project repository. Uses a dedicated "$NAME-cache" tag for caching, to address limitations. See issue "when using --cache=true, kaniko fail to push cache layer [...]": GoogleContainerTools/kaniko#1459 Does not specify a context since no Dockerfile is using COPY or ADD instructions. Does not enable reproducible builds as that results in builds failing with an out of memory error. See issue "Using --reproducible loads entire image into memory": GoogleContainerTools/kaniko#862 Previous attempts, for the records: - Alex Bennée: https://lore.kernel.org/qemu-devel/[email protected]/ - Camilla Conte (me): https://lore.kernel.org/qemu-devel/[email protected]/ Signed-off-by: Camilla Conte <[email protected]> Message-Id: <[email protected]>
Actual behavior
when using
--cache=true
, kaniko fail to push cache layer.Expected behavior
there shouldn't be any failures
To Reproduce
Steps to reproduce the behavior:
I created a repo to reproduce the bug: https://github.com/stavalfi/kaniko-bug-reproduce
the secret was created using the instruction of kaniko "getting started": https://github.com/GoogleContainerTools/kaniko/blob/master/docs/tutorial.md
Additional Information
gcr.io/kaniko-project/executor debug-v1.2.0 c91ffaa6289b
(im not sure how to give more info)
--cache
flagThe text was updated successfully, but these errors were encountered: