forked from ko-build/ko
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tarball publisher ctx handling (ko-build#545)
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.
- Loading branch information
1 parent
22c9a52
commit 5a13603
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters