Share feedback
Answers are generated based on the documentation.

sbx kit push

DescriptionPush a kit artifact to an OCI registry
Usagesbx kit push DIRECTORY REFERENCE [flags]

Experimental

This command is experimental.

Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.

Description

Package a kit directory containing spec.yaml and push it to an OCI registry. Use a registry/repo:tag reference. The kit's schema selects the artifact format.

Every push attaches provenance. Use --sign to also sign the manifest and provenance; signing is keyless unless --key is supplied.

For Docker Hub, the sbx login session takes priority. Other registries use secrets set with sbx secret set --registry. Both fall back to Docker credentials. The registry must support HTTPS.

Options

OptionDefaultDescription
--identity-tokenOIDC identity token for keyless signing; defaults to the ambient CI provider, then an interactive browser login
--identity-token-fileFile holding the OIDC identity token; keeps it out of the process arguments
--keyPrivate key for key-based signing (PEM); omit for keyless signing
--signSign the pushed kit and attach the signature as an OCI referrer
--tlog-uploadtrueUpload the keyless signature to the Rekor transparency log; set false for private kits

Global options

OptionDefaultDescription
--cloudDispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list)
-D, --debugEnable debug logging
--no-inputNever prompt; commands that need an answer fail with the command to run instead

Examples

sbx kit push ./my-kit ghcr.io/myorg/my-kit:1.0

# Sign the pushed kit (keyless)
sbx kit push ./my-kit ghcr.io/myorg/my-kit:1.0 --sign