octopus package upload

upload one or more packages to Octopus Deploy. Glob patterns are supported.

Usage:
  octopus package upload [flags]

Aliases:
  upload, push

Flags:
  -p, --package stringArray     Package to upload, may be specified multiple times. Any arguments without flags will be treated as packages
      --overwrite-mode string   Action when a package already exists. Valid values are 'fail', 'overwrite', 'ignore'. Default is 'fail'
      --continue-on-error       When uploading multiple packages, controls whether the CLI continues after a failed upload. Default is to abort.


Global Flags:
  -h, --help                   Show help for a command
      --no-prompt              Disable prompting in interactive mode
  -f, --output-format string   Specify the output format for a command ("json", "table", or "basic") (default "table")
  -s, --space string           Specify the space for operations

Examples

Octopus Samples instance

Many of the examples we use, reference the samples instance of Octopus Deploy. If you’d like to explore the samples instance, you can log in as a guest.

$ octopus package upload --package SomePackage.1.0.0.zip
$ octopus package upload SomePackage.1.0.0.tar.gz --overwrite-mode overwrite
$ octopus package push SomePackage.1.0.0.zip	
$ octopus package upload bin/**/*.zip --continue-on-error
$ octopus package upload PkgA.1.0.0.zip PkgB.2.0.0.tar.gz PkgC.1.0.0.nupkg

Learn more

Help us continuously improve

Please let us know if you have any feedback about this page.

Send feedback

Page updated on Thursday, February 1, 2024