Package a buildpack in OCI format.
buildpack package allows users to package (a) buildpack(s) into OCI format, which can then to be hosted in image repositories. You can also package a number of buildpacks together, to enable easier distribution of a set of buildpacks. Packaged buildpacks can be used as inputs to
pack build (using the
--buildpack flag), and they can be included in the configs used in
pack builder create and
pack buildpack package. For more on how to package a buildpack, see: https://buildpacks.io/docs/buildpack-author-guide/package-a-buildpack/.
pack buildpack package <name> --config <config-path> [flags]
pack buildpack package my-buildpack --config ./package.toml
-r, --buildpack-registry string Buildpack Registry name -c, --config string Path to package TOML config (required) -f, --format string Format to save package as ("image" or "file") -h, --help Help for 'package' --publish Publish to registry (applies to "--format=image" only) --pull-policy string Pull policy to use. Accepted values are always, never, and if-not-present. The default is always
--no-color Disable color output -q, --quiet Show less output --timestamps Enable timestamps in output -v, --verbose Show more output