From e9295bfd34d4bfc83943fd3e440f9eba757cd583 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 13 Nov 2024 23:15:55 +0100 Subject: [PATCH] fix docs --- docs/data/data.yaml | 6 +++--- plugin/plugin.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/data/data.yaml b/docs/data/data.yaml index f8eaf2d..37b1f5c 100644 --- a/docs/data/data.yaml +++ b/docs/data/data.yaml @@ -94,11 +94,11 @@ properties: defaultValue: false required: false - - name: config + - name: registry_config description: | - Content of the docker daemon json config. + Content of the registry credentials store file. type: string - defaultValue: $DOCKER_PLUGIN_CONFIG + defaultValue: $DOCKER_REGISTRY_CONFIG required: false - name: containerfile diff --git a/plugin/plugin.go b/plugin/plugin.go index 558a97b..dc933e5 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -337,7 +337,7 @@ func Flags(settings *Settings, category string) []cli.Flag { EnvVars: []string{"PLUGIN_REGISTRY_CONFIG", "DOCKER_REGISTRY_CONFIG"}, Usage: "content of the registry credentials store file", Destination: &settings.Registry.Config, - DefaultText: "$DOCKER_PLUGIN_CONFIG", + DefaultText: "$DOCKER_REGISTRY_CONFIG", Category: category, }, &cli.BoolFlag{