Skip to content

Commit 458d3fd

Browse files
committed
Allow using credential 'filestore' explicitly
Signed-off-by: Rackoon <[email protected]>
1 parent 0e38eec commit 458d3fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/config/configfile/file.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ func (configFile *ConfigFile) GetCredentialsStore(registryHostname string) crede
290290
store := credentials.NewFileStore(configFile)
291291

292292
if helper := getConfiguredCredentialStore(configFile, registryHostname); helper != "" {
293+
if helper == "filestore" {
294+
return store
295+
}
293296
store = newNativeStore(configFile, helper)
294297
}
295298

0 commit comments

Comments
 (0)