/oras-tools

Helper tools for ORAS (https://oras.land)

Primary LanguageGo

ORAS Tools

Main Branch Build Workflow Badge Latest Release Workflow Badge

Helper tools for ORAS.

Quick Start

Install

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

Commands

Delete

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"