shipctl is a command-line tool to upload and download files or directories to an OCI-compatible registry as artifacts.
- Upload any files or directories to OCI registries
- Download artifacts from OCI registries
- Simple CLI interface:
shipctl up
andshipctl down
- Supports authentication and custom output directories
- CLI options can also be set via environment variables
pip install shipctl
shipctl up --target <oci-target> --username <user> --password <pass> --files <file1> --files <file2>
shipctl down --target <oci-target> --username <user> --password <pass> --outdir ./output-directory
--target
: Target OCI artifact (required)--username
: Username for authentication (required)--password
: Password for authentication (required)--files
: Files or directories to upload (forup
)--outdir
: Output directory for downloads (fordown
, default:./artifacts
)
All CLI options can also be set using environment variables:
SHIPCTL_OCI_TARGET
→--target
SHIPCTL_OCI_USERNAME
→--username
SHIPCTL_OCI_PASSWORD
→--password
SHIPCTL_OCI_FILES
→--files
SHIPCTL_OCI_OUTDIR
→--outdir
For example:
export SHIPCTL_OCI_TARGET=your-oci-target
export SHIPCTL_OCI_USERNAME=your-username
export SHIPCTL_OCI_PASSWORD=your-password
shipctl up --files file1 --files file2
This project is licensed under the Apache 2.0 License. For more information, see the license.