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{