ksail workload push

Build and push local workloads as an OCI artifact to a registry.

The OCI reference format is: oci://<host>:<port>/<repository>[/<variant>]:<ref>

Examples:
  # Push to auto-detected local registry with defaults
  ksail workload push

  # Push specific directory to auto-detected registry
  ksail workload push --path=./manifests

  # Push to explicit registry endpoint
  ksail workload push oci://localhost:5050/k8s:dev

  # Push to external registry with credentials
  ksail workload push --registry='$USER:$TOKEN@ghcr.io/org/repo'

  # Push using KSAIL_REGISTRY environment variable
  KSAIL_REGISTRY='ghcr.io/org/repo' ksail workload push

  # Push with variant (subdirectory in repository)
  ksail workload push oci://localhost:5050/my-app/base:v1.0.0 --path=./k8s

All parts of the OCI reference are optional and will be inferred:
  - host:port: Auto-detected from running local-registry container
  - repository: Derived from source directory name
  - ref: Defaults to "dev"

Usage:
  ksail workload push [oci://<host>:<port>/<repository>[/<variant>]:<ref>] [flags]

Flags:
  -h, --help              help for push
      --path string       Source directory containing manifests to push
      --registry string   Registry to push to (format: [user:pass@]host[:port][/path]), can also be set via KSAIL_REGISTRY env var
      --validate          Validate manifests before pushing

Global Flags:
      --timing   Show per-activity timing output