mirror of
https://github.com/ko-build/ko.git
synced 2025-02-01 19:14:40 +02:00
5a13603eef
Previously, we'd use the ctx from the Build invocation, but because remote stashes the remote.WithContext option, when we later go to fetch the actual base image to write it out to a tarball, it will fail because the Build ctx was cancelled. For whatever reason, NewGo takes a ctx, so this change propagates the badness from remote so we can use the NewGo ctx when we fetch base images.