Upload artifacts to a repository
Upload artifacts to a Repsy repository: rp push <format> <file>… –repo <name>.
The credential is the one rp uses everywhere: REPSY_TOKEN, else the stored credential of the profile. It is sent as the password of HTTP basic authentication, so it must be a deploy token of the repository or a personal access token; a login session cannot upload. Files are streamed from disk and sent once; rp never retries an upload. If the server refuses it (a plan quota, a size limit, a duplicate version), its answer is shown as sent.
Docker (rp push docker <archive-or-layout> –repo <name>) is the exception to “files, basic authentication, one request”: the registry wants the token exchange and one request per blob, and the input is an image archive (docker save, tar, tar.gz) or an OCI layout directory, with no Docker daemon. A blob that breaks in transit continues where the registry stopped; a layer the registry already holds is skipped.
rp push
Options inherited from parent commands
--api-url string Panel API URL of the profile, overrides the stored value
--ca-file string PEM file with extra trusted CA certificates
--debug Print debug output with secrets redacted
--hostname string Repsy host to use instead of the current profile
--insecure Do not verify TLS certificates (unsafe; plain http is chosen with the URL, not with this flag)
--insecure-storage Keep credentials in a plain 0600 file instead of the OS keyring (unsafe; a warning is printed once per command)
--jq string Filter JSON output with a jq expression (implies --output json)
--no-color Disable colored output
--no-input Never prompt; fail when input is needed
--output table|json|yaml Output format: table, json or yaml (default table; json when --jq is given)
--owner string Owner segment of Cloud protocol URLs; --owner= means none
--registry-url string Protocol host URL of the profile, overrides the stored value
--type os|cloud Product of the host, overrides detection
--web-url string Panel UI URL of the profile (where /cli/auth lives), overrides the stored value
--yes Answer yes to confirmation prompts
See also
- rp - Command line client for Repsy OS and Repsy Cloud
- rp push cargo - Upload cargo artifacts
- rp push docker - Upload docker artifacts
- rp push go - Upload go artifacts
- rp push helm - Upload helm artifacts
- rp push maven - Upload maven artifacts
- rp push npm - Upload npm artifacts
- rp push nuget - Upload nuget artifacts
- rp push pypi - Upload pypi artifacts
- rp push ruby - Upload ruby artifacts