You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an extension of #826, add a new flag --extended to support extended copying. With same content layout described in #826, the extended copying command is expected to have behavior:
oras cp -r [--from-oci-layout] --extended $FROM:v1 $TO:v2: copy ML1, A1, M1, M2 and M3 to $TO and tag ML1 as v2.
oras cp -r [--from-oci-layout] --extended $FROM:v1 --platform linux/amd64 $TO:v2 or oras cp -r [--from-oci-layout] $FROM@$M1_DIGEST $TO:v2: copy ML1, A1, M1, A2, M2 and M3 to $TO and tag M1 as v2
As an extension of #826, add a new flag
--extended
to support extended copying. With same content layout described in #826, the extended copying command is expected to have behavior:oras cp -r [--from-oci-layout] --extended $FROM:v1 $TO:v2
: copyML1
,A1
,M1
,M2
andM3
to$TO
and tagML1
asv2
.oras cp -r [--from-oci-layout] --extended $FROM:v1 --platform linux/amd64 $TO:v2
ororas cp -r [--from-oci-layout] $FROM@$M1_DIGEST $TO:v2
: copyML1
,A1
,M1
,A2
,M2
andM3
to$TO
and tagM1
asv2
Reference: https://oras.land/client_libraries/#extendedcopy
The text was updated successfully, but these errors were encountered: