Working Go examples on how to push and pull any artifact (file) to/from OCI registries.
MIT License
Working Go examples on how to push and pull any artifact (file) to/from OCI registries ("container registries"), using the ORAS project library.
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 "."