Skip to content

Latest commit

 

History

History

packer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

HashiCorp Packer

This build step invokes HashiCorp Packer in Google Cloud Build.

Arguments passed to this builder will be passed to packer directly, allowing callers to run any Packer command.

Building this Builder

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 linux/amd64 zip archive as Cloud Build substitutions:

gcloud builds submit --substitutions=_PACKER_VERSION=1.9.1,_PACKER_VERSION_SHA256SUM=793ed62255b9e572eda0c77d2a770f5fde501314b7598320786f1e51feb260d6 .

Credentials

You can securely pass credentials to packer using encrypted files.

See examples in the examples subdirectory.

Status

This is unsupported demo-ware. Use at your own risk!