Skip to content

Fox publish

fox publish

Builds, pushes, and deploys KubeFox Apps using the component code from the currently checked out Git commit

fox publish [flags]

Options

  -t, --create-tag         create Git tag using the AppDeployment version
      --dry-run            submit server-side request without persisting the resource
      --force              force build even if component image exists
  -h, --help               help for publish
  -k, --kind string        if provided the built image will be loaded into the kind cluster
  -d, --name string        name to use for AppDeployment, defaults to <APP NAME>-<VERSION | GIT REF | GIT COMMIT>
  -n, --namespace string   namespace of KubeFox Platform
      --no-cache           do not use cache when building image
  -p, --platform string    name of KubeFox Platform to utilize
      --skip-deploy        do not perform deployment after build
      --skip-push          do not push image after build
  -s, --version string     version to assign to the AppDeployment, making it immutable
      --wait duration      wait up to the specified time for components to be ready

Options inherited from parent commands

  -a, --app string                 path to directory containing KubeFox App
  -i, --info                       enable info output
  -o, --output string              output format, one of ["json", "yaml"] (default "yaml")
      --registry-address string    address of your container registry
      --registry-token string      access token for your container registry
      --registry-username string   username for your container registry
  -m, --timeout duration           timeout for command (default 5m0s)
  -v, --verbose                    enable verbose output

SEE ALSO

  • fox - CLI for interacting with KubeFox