diff --git a/internal/provider/oci/upload.go b/internal/provider/oci/upload.go index d116e3aeb..8fd95156c 100644 --- a/internal/provider/oci/upload.go +++ b/internal/provider/oci/upload.go @@ -19,8 +19,8 @@ func Upload(_ context.Context, hash, target, folder string, insecure bool) error credStore := os.Getenv("CRED_STORE") if credStore != "" { os.Setenv("DOCKER_CONFIG", os.Getenv("CRED_STORE")) + fmt.Fprintf(os.Stdout, "DOCKER_CONFIG is set to %s \n", os.Getenv("DOCKER_CONFIG")) } - fmt.Println("DOCKER_CONFIG : ", os.Getenv("DOCKER_CONFIG")) cacheImageRef := strings.ReplaceAll(target, "{{hash}}", hash) fmt.Fprintf(os.Stderr, "Upload %s content to oci image %s\n", folder, cacheImageRef)