Skip to content

johnsonshi/oras-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"