Closed wangxiaoxuan273 closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.10%. Comparing base (
122f01b
) to head (15e944c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
There are 3 issues to discuss:
Do we allow users to input --image-spec auto
? (currently yes)
What should be the output of oras push -h
for --image-spec
? (current display below)
We need to document the behavior of auto
. (default to v1.1, unless --config
is used and --artifact-type
is not given)
What this PR does / why we need it:
oras push
should return an error when--config
is used,--artifact-type
is not used and--image-spec
is set tov1.1
.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged): Fixes #1313Please check the following list: