Open yiranwang52 opened 5 years ago
I think this issue will require some breaking changes in flags. Right now --push
flag is a bit confusing IMO. It tells which registry to use from --registry-config
to push layers to.
I propose to rename --push
to --registry
, --registry-config
to --registries-config
. Then we can add --push
flag with a new meaning to push layers. Or even better, --skip-push
to opt out from pushing layers and only use the registry to pull layers.
How does it sound? I can work on a PR if the change makes sense.
BTW right now if no push registry provided via
--push
Makisu doesn't read from cache. Here is output that I see:Do you think it makes sense to introduce a pull registry to allow such read only behaviour?
--pull
flag will be consistent with--push
flag? The value can also default to--push
if no--pull
explicitly provided. What do you think?