mirror of
https://github.com/containers/skopeo.git
synced 2025-08-11 03:12:26 +00:00
better info msg
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
7cba18fe08
commit
0873f86842
@ -100,6 +100,7 @@ You can also grab a binary, built for _linux x86_64_, from the releases page, or
|
|||||||
```sh
|
```sh
|
||||||
$ export RELEASE=0.0.1
|
$ export RELEASE=0.0.1
|
||||||
$ wget https://github.com/runcom/skopeo/releases/download/v$RELEASE/skopeo
|
$ wget https://github.com/runcom/skopeo/releases/download/v$RELEASE/skopeo
|
||||||
|
$ chmod +x skopeo
|
||||||
$ sudo mv skopeo /usr/local/bin/skopeo
|
$ sudo mv skopeo /usr/local/bin/skopeo
|
||||||
```
|
```
|
||||||
TODO
|
TODO
|
||||||
|
@ -217,7 +217,7 @@ func getAuthConfig(c *cli.Context, index *registryTypes.IndexInfo) (types.AuthCo
|
|||||||
cfg = c.GlobalString("docker-cfg")
|
cfg = c.GlobalString("docker-cfg")
|
||||||
)
|
)
|
||||||
if _, err := os.Stat(cfg); err != nil {
|
if _, err := os.Stat(cfg); err != nil {
|
||||||
logrus.Infof("Docker cli config file not found: %v, falling back to --username and --password", err)
|
logrus.Infof("Docker cli config file %q not found: %v, falling back to --username and --password if needed", cfg, err)
|
||||||
return types.AuthConfig{
|
return types.AuthConfig{
|
||||||
Username: username,
|
Username: username,
|
||||||
Password: password,
|
Password: password,
|
||||||
|
Loading…
Reference in New Issue
Block a user