From a65314329c4fbab6f31e21e318039ed322b482d6 Mon Sep 17 00:00:00 2001 From: Kenny Leung Date: Wed, 10 Jul 2024 17:23:09 -0700 Subject: [PATCH] expose Signed-off-by: Kenny Leung --- pkg/cli/build.go | 2 +- pkg/cli/bundle.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cli/build.go b/pkg/cli/build.go index 73ef6d58b..2ded546e2 100644 --- a/pkg/cli/build.go +++ b/pkg/cli/build.go @@ -707,7 +707,7 @@ type Global struct { summary string - fuses []string + Fuses []string // arch -> foo.apk -> exists in APKINDEX exists map[string]map[string]struct{} diff --git a/pkg/cli/bundle.go b/pkg/cli/bundle.go index ad0e5c403..a37fb2f18 100644 --- a/pkg/cli/bundle.go +++ b/pkg/cli/bundle.go @@ -20,7 +20,7 @@ import ( "chainguard.dev/apko/pkg/build/types" "github.com/chainguard-dev/clog" - "github.com/google/go-containerregistry/pkg/authn" + "github.com/google/go-containerregistry/pkg/gcrane" "github.com/google/go-containerregistry/pkg/name" v1 "github.com/google/go-containerregistry/pkg/v1" "github.com/google/go-containerregistry/pkg/v1/empty" @@ -71,7 +71,7 @@ func cmdBundle() *cobra.Command { } if bcfg.Repo != "" { - pusher, err := remote.NewPusher(remote.WithAuthFromKeychain(authn.DefaultKeychain), remote.WithUserAgent("wolfictl bundle")) + pusher, err := remote.NewPusher(remote.WithAuthFromKeychain(gcrane.Keychain), remote.WithUserAgent("wolfictl bundle")) if err != nil { return err }