Helper tools for ORAS.
To install, run the following commands.
curl -LO https://github.com/johnsonshi/oras-tools/releases/download/v0.0.1/oras-tools
chmod +x oras-tools
sudo mv oras-tools /usr/local/bin
Delete ORAS artifacts from a registry.
To delete an ORAS artifact (referenced by its hash $digest
) in $registry_url
and $repository_name
:
./bin/oras-tools delete \
--username "$registry_username" \
--password "$registry_password" \
--registry "$registry_url" \
--repository "$repository_name" \
--digest "$digest"