This build step invokes packer
commands in Google Cloud Build.
Arguments passed to this builder will be passed to packer
directly, allowing
callers to run any Packer
command.
Before using this builder in a Cloud Build config, it must be built and pushed to the registry in your project. Run the following command in this directory:
gcloud builds submit .
Advanced builder building: To specify a particular version of packer, provide the packer version number, and the checksum of that version's zip archive, as Cloud Build substitutions:
gcloud builds submit --substitutions=_PACKER_VERSION=1.3.5,_PACKER_VERSION_SHA256SUM=14922d2bca532ad6ee8e936d5ad0788eba96f773bcdcde8c2dc7c95f830841e .
You can securely pass credentials to packer
using encrypted
files.
See examples in the examples
subdirectory.
This is unsupported demo-ware. Use at your own risk!