diff --git a/.gitignore b/.gitignore index 6bca3eaa..0ac893c6 100755 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,6 @@ og-describer-template local/ output.json .vscode -.vscode/* \ No newline at end of file +.vscode/* + +output.json diff --git a/pkg/describer/worker.go b/pkg/describer/worker.go index c372d1c4..1723ebe5 100755 --- a/pkg/describer/worker.go +++ b/pkg/describer/worker.go @@ -69,7 +69,7 @@ func Do(ctx context.Context, if err != nil { return nil, fmt.Errorf("decrypt error: %w", err) } - logger.Info("decrypted config", zap.Any("config", config)) + // logger.Info("decrypted config", zap.Any("config", config)) return doDescribe(ctx, logger, job, config, grpcEndpoint, ingestionPipelineEndpoint, describeDeliverToken, useOpenSearch) } diff --git a/provider/describer/container_package.go b/provider/describer/container_package.go index 43d9146f..8bc7b967 100644 --- a/provider/describer/container_package.go +++ b/provider/describer/container_package.go @@ -244,8 +244,8 @@ func fetchAndAssembleOutput( Username: "github", Password: apiToken, }) - - ref, err := name.ParseReference(imageRef) + imageRef = strings.ToLower(imageRef) + ref, err := name.ParseReference(imageRef,name.WeakValidation) if err != nil { return model.ContainerPackageDescription{}, fmt.Errorf("error parsing reference %s: %w", imageRef, err)