Skip to content
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

[Backport release-1.6] Fix failure to pull private packages due to URI scheme #2941

Merged
merged 3 commits into from Mar 5, 2022

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Mar 4, 2022

Description

Backport of #2939 to release-1.6.

Updates to latest go-containerregistry including the k8schain and
kubernetes auth submodules to fix the issue of not picking up matching
pull secrets that use URI schemes.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
(cherry picked from commit a1c4793)
Moves from using the LayerFromReader to LayerFromOpener as the former
is now deprecated. The same beahvior is reflected, which we are okay
with using in the context of unit tests.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
(cherry picked from commit ebbba6b)
LayerFromReader is now deprecated, but we opt to keep the same
functionality for the time-being, instead of moving to buffering through
a temp file. TODO is added indicating that we can optimize this path in
the future, but it is currently only used for building using the CLI.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
(cherry picked from commit c95d828)
@hasheddan hasheddan merged commit 0210a3a into release-1.6 Mar 5, 2022
@muvaf muvaf deleted the backport-2939-to-release-1.6 branch April 1, 2022 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant