_nifectl deploy_

Deploy an App to the Nife platform

About#

Deploy an application to the Nife platform. The application can be a local image, remote image, defined in a Dockerfile or use a CNB Buildpack.

Use the --config/-c flag to select a specific toml configuration file.

Use the --image/-i flag to specify a local or remote image to deploy.

Use the --detach flag to return immediately from starting the deployment rather than monitoring the deployment progress.

Use nifectl monitor to restart monitoring deployment progress

Usage#

nifectl deploy [<workingdirectory>] [flags]

Options#

-a, --app string App name to operate on
--build-arg strings Set of build time variables in the form of NAME=VALUE pairs. Can be specified multiple times.
-c, --config string Path to an app config file or directory containing one (default "./nife.toml")
--detach Return immediately instead of monitoring deployment progress
--dockerfile string Path to a Dockerfile. Defaults to the Dockerfile in the working directory.
-e, --env strings Set of environment variables in the form of NAME=VALUE pairs. Can be specified multiple times.
-h, --help help for deploy
-i, --image string Image tag or id to deploy
--image-label string Image label to use when tagging and pushing to the nife registry. Defaults to "deployment-{timestamp}".
--local-only Only perform builds locally using the local docker daemon
--remote-only Perform builds remotely without using the local docker daemon

Global Options#

-t, --access-token string Nife API Access Token
-j, --json json output

See Also#