porter publish

porter publish

Publish a bundle


Publishes a bundle by pushing the invocation image and bundle to a registry.

Note: if overrides for registry/tag/reference are provided, this command only re-tags the invocation image and bundle; it does not re-build the bundle.

porter publish [flags]


  porter publish
  porter publish --file myapp/porter.yaml
  porter publish --dir myapp
  porter publish --archive /tmp/mybuns.tgz --reference myrepo/my-buns:0.1.0
  porter publish --tag latest
  porter publish --registry myregistry.com/myorg
  porter publish --autobuild-disabled


  -a, --archive string       Path to the bundle archive in .tgz format
      --autobuild-disabled   Do not automatically build the bundle from source when the last build is out-of-date.
  -d, --dir string           Path to the build context directory where all bundle assets are located.
  -f, --file porter.yaml     Path to the Porter manifest. Defaults to porter.yaml in the current directory.
      --force                Force push the bundle to overwrite the previously published bundle
  -h, --help                 help for publish
      --insecure-registry    Don't require TLS for the registry
  -r, --reference string     Use a bundle in an OCI registry specified by the given reference.
      --registry string      Override the registry portion of the bundle reference, e.g. docker.io, myregistry.com/myorg
      --sign-bundle          Sign the bundle using the configured signing plugin
      --tag string           Override the Docker tag portion of the bundle reference, e.g. latest, v0.1.1

Options inherited from parent commands

      --experimental strings   Comma separated list of experimental features to enable. See https://porter.sh/configuration/#experimental-feature-flags for available feature flags.
      --verbosity string       Threshold for printing messages to the console. Available values are: debug, info, warning, error. (default "info")


  • porter - With Porter you can package your application artifact, client tools, configuration and deployment logic together as a versioned bundle that you can distribute, and then install with a single command.

Most commands require a Docker daemon, either local or remote.

Try our QuickStart https://porter.sh/quickstart to learn how to use Porter.