Closed shi2wei3 closed 4 months ago
~I think we can use
skopeo inspect --creds USERNAME[:PASSWORD]
inshared_lib.sh
.~ This only works with quay.io. For theregistry-proxy
, this will report error.
registry-proxy allow anonymous access, so it won't require auth, right? If so, your solution maybe better since bib use root auth whereas os-replace and anaconda use user auth. Let skopeo inspect
take care of its own auth is better.
~I think we can use
skopeo inspect --creds USERNAME[:PASSWORD]
inshared_lib.sh
.~ This only works with quay.io. For theregistry-proxy
, this will report error.registry-proxy allow anonymous access, so it won't require auth, right? If so, your solution maybe better since bib use root auth whereas os-replace and anaconda use user auth. Let
skopeo inspect
take care of its own auth is better.
Right, but registry-proxy does not allow wrong user here. That means anonymous or correct user/pass.
~I think we can use
skopeo inspect --creds USERNAME[:PASSWORD]
inshared_lib.sh
.~ This only works with quay.io. For theregistry-proxy
, this will report error.registry-proxy allow anonymous access, so it won't require auth, right? If so, your solution maybe better since bib use root auth whereas os-replace and anaconda use user auth. Let
skopeo inspect
take care of its own auth is better.Right, but registry-proxy does not allow wrong user here. That means anonymous or correct user/pass.
Oh, that's bad.
Another solution is create a new function in shared_lib.sh
.
If IMAGE_URL starts from quay.io
, use --creds USERNAME[:PASSWORD]
, else keep the current one.
Then call this function just after dump_runner
call.
Another solution is create a new function in
shared_lib.sh
. If IMAGE_URL starts fromquay.io
, use--creds USERNAME[:PASSWORD]
, else keep the current one. Then call this function just afterdump_runner
call.
make sense to me, you can create a new PR and drop this one.
I think we can useThis only works with quay.io. For theskopeo inspect --creds USERNAME[:PASSWORD]
inshared_lib.sh
.registry-proxy
, this will report error.