-
Notifications
You must be signed in to change notification settings - Fork 39
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
fix: update kaniko fork to fix BLOB_UNKNOWN errors #410
Conversation
8ae006a
to
4b71b24
Compare
// To debug registry issues, enable logging: | ||
// | ||
// import ( | ||
// stdlog "log" | ||
// reglogs "github.com/google/go-containerregistry/pkg/logs" | ||
// ) | ||
// reglogs.Debug = stdlog.New(os.Stderr, "", 0) | ||
// reglogs.Warn = stdlog.New(os.Stderr, "", 0) | ||
// reglogs.Progress = stdlog.New(os.Stderr, "", 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non-blocking potential follow-up: we could conditionally enable this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about it, but was too tired to think of how to expose it 😄. I'd also not use os.Stderr
but instead wrap the logger we have.
I don't think we want to enable this with ENVBUILDER_VERBOSE=1
, we'd probably want to introduce debug/trace.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, but we can worry about that later!
(cherry picked from commit e64f857)
Co-authored-by: Mathias Fredriksson <[email protected]>
Fixes #385
Refs coder/kaniko#35