You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
Since we only care about the current state of the repo, it doesn't make sense to pull the full commit history of a repo.
It would be helpful to expose a new flag to set the git clone depth - Which would then be honoured here: https://github.com/GoogleContainerTools/kaniko/blob/main/pkg/buildcontext/git.go#L62.
I'd be happy to open a PR to add this change.
Thanks!