Skip to content

Commit

Permalink
fix pkg/gcrane
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed Jan 6, 2022
1 parent 27a378d commit aef4708
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/gcrane/copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,19 @@ import (

"github.com/google/go-containerregistry/internal/retry"
"github.com/google/go-containerregistry/pkg/authn"
"github.com/google/go-containerregistry/pkg/authn/google"
gauth "github.com/google/go-containerregistry/pkg/authn/google"
"github.com/google/go-containerregistry/pkg/crane"
"github.com/google/go-containerregistry/pkg/logs"
"github.com/google/go-containerregistry/pkg/name"
"github.com/google/go-containerregistry/pkg/v1/google"
"github.com/google/go-containerregistry/pkg/v1/remote"
"github.com/google/go-containerregistry/pkg/v1/remote/transport"
"golang.org/x/sync/errgroup"
)

// Keychain tries to use google-specific credential sources, falling back to
// the DefaultKeychain (config-file based).
var Keychain = authn.NewMultiKeychain(google.Keychain, authn.DefaultKeychain)
var Keychain = authn.NewMultiKeychain(gauth.Keychain, authn.DefaultKeychain)

// GCRBackoff returns a retry.Backoff that is suitable for use with gcr.io.
//
Expand Down

0 comments on commit aef4708

Please sign in to comment.