nais app set image
nais app set image NAME [flags]
Rolls the application back (or forward) to a previously deployed container image. An interactive selector of previous releases is shown. Changes are temporary and will be overwritten on next deploy.
Inherited options
--config- Specify the
PATHto the configuration file. -e,--environment- Specify the
ENVIRONMENTto use for this command. Overrides the default environment from configuration. --no-colors- Disable colors in the output.
-o,--output- Format output (table or json).
-t,--team- Specify the
TEAMto use for this command. Overrides the default team from configuration. -v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.
Examples
# Select an image to roll back to interactively.
$ nais app set image my-app -e dev