Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.42 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.42 KB

ORAS Python

https://raw.githubusercontent.com/oras-project/oras-www/main/docs/assets/images/oras.png

OCI Registry as Storage enables client libraries to push OCI Artifacts to OCI Conformant registries. This is a Python client for that.

under development

Usage

You should see supported registries, or if you want to deploy a local testing registry, you can do:

$ docker run -it --rm -p 5000:5000 registry 

And follow the instructions here to add authentication (recommended). There is a start-dev-server.sh script in the root of this repository that will start your registry for you after you generate a credential.

Login

Once you create (or already have) a registry, you will want to login. You can do:

$ oras-py login -u myuser -p mypass localhost:5000

# or localhost (insecure)
$ oras-py login -u myuser -p mypass -k localhost:5000

TODO

  • finish all basic commands
  • add testing
  • need to have git commit, state, added to defaults on install/release. See here.

License

This code is licensed under the MIT LICENSE.