shizhMSFT / oras-bash

ORAS in Bash for fun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oras-bash

oras.sh is a subset of oras CLI written in BASH.

To install:

install_path="$HOME/bin/oras.sh"
curl https://raw.githubusercontent.com/shizhMSFT/oras-bash/main/oras.sh > "$install_path"
chmod +x "$install_path"

Try having fun:

oras.sh repo ls mcr.microsoft.com

To access registries with basic auth:

export ORAS_AUTH="<username>:<password>"
oras.sh $command $sub_command $reference

About

ORAS in Bash for fun

License:Apache License 2.0


Languages

Language:Shell 100.0%