-
Notifications
You must be signed in to change notification settings - Fork 408
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
Update awslabs/amazon-ecr-credential-helper to latest #1248
Conversation
This update fixes an apparent conflict between the amazon-ecr-credential-helper library and the aws-sdk-go-v2 library, introduced when aws-sdk-go-v2 was updated as a byproduct of a cosign upgrade in #1191. This mismatch resulted in an error: "ecr: Failed to get authorization token: not found, ResolveEndpointV2" However, this error was not readily apparent due to overridding the ecr-login module's logger to io.Discard in pkg/commands/config.go. Resolves: #1245 Signed-off-by: Eric Searcy <[email protected]>
Result of running ./hack/update-codegen.sh Signed-off-by: Eric Searcy <[email protected]>
some work is still required in order to merge this pr before reviewing |
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.
lgtm
@@ -3,7 +3,7 @@ module github.com/google/ko | |||
go 1.21 | |||
|
|||
require ( | |||
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20231024185945-8841054dbdb8 | |||
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20231121035052-cd92a7ab1375 |
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.
Why not updating to the latest version v0.0.0-20240323062759-1fd604ae58de
?
Since #1267 was merged this one can be close |
This update fixes an apparent conflict between the amazon-ecr-credential-helper library and the aws-sdk-go-v2 library, introduced when aws-sdk-go-v2 was updated as a byproduct of a cosign upgrade in #1191.
This mismatch resulted in an error:
ecr: Failed to get authorization token: not found, ResolveEndpointV2
However, this error was not readily apparent due to overridding the ecr-login module's logger to io.Discard in
pkg/commands/config.go
.Resolves: #1245