Closed ADorigi closed 3 months ago
If acceptable, I am willing to create a pull request addressing this change in the documentation.
Hi @ADorigi, thanks for filing this issue, please create the PR. Looks like we had updated the tests (https://github.com/project-zot/zot/blob/main/test/blackbox/pushpull.bats#L148) but forgot about the documentation.
zot version
NA
Describe the bug
The documentation at Attach a reference using ORAS seems outdated.
To reproduce
oras push
command as described in ZOT documentation hereExpected behavior
The artifact should be available as a reference to the given subject.
Screenshots
Additional context
The ORAS push command given in the user documentation for ZOT is as follows:
The
oras push
command no longer has the option--subject
, as evident in the ORAS documentation here.From what I understand, the
oras attach
command achieves exactly what the outdated documentation above needed.The new command should be as follows: