Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 546 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 546 Bytes

oci-artifacts

Working Go examples on how to push and pull any artifact (file) to/from OCI registries ("container registries"), using the ORAS project library.

Check out push and pull.

Disclaimer: This only works with OCI registries that support OCI artifacts. You can find a list of them here.

Usage:

go run . --files "data/dock.jpg,data/ship.jpg" --image "REGISTRY/USER/REPO:TAG" \
 --username "<USER>" --password "<PASSWORD>" --output "."