Closed termoshtt closed 2 years ago
For example, $HOME/.docker/config.json on Windows runner of GitHub Actions is following:
$HOME/.docker/config.json
{ "auths": { "https://index.docker.io/v1/": {} }, "credsStore": "wincred" }
Current implementation of ocipkg will fail if this config.json exists with
config.json
Error: InvalidJson(Error("missing field `auth`", line: 3, column: 35))
https://github.com/rust-math/rust-mkl-container/actions/runs/3038006115/jobs/4891157780
This PR simply ignores such config.json which cause deserialization error.
Problem
For example,
$HOME/.docker/config.json
on Windows runner of GitHub Actions is following:Current implementation of ocipkg will fail if this
config.json
exists withhttps://github.com/rust-math/rust-mkl-container/actions/runs/3038006115/jobs/4891157780
How to fix
This PR simply ignores such
config.json
which cause deserialization error.