Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
examples/gce Adds 'tags: [cloud-builders-community]' to all builders (#261) Jul 10, 2019
Dockerfile Swap out first stage with alpine May 22, 2019
README.md Provide instructions for building the builder Mar 14, 2019
cloudbuild.yaml

README.md

Packer

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.

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 zip archive, as Cloud Build substitutions:

gcloud builds submit --substitutions=_PACKER_VERSION=1.3.5,_PACKER_VERSION_SHA256SUM=14922d2bca532ad6ee8e936d5ad0788eba96f773bcdcde8c2dc7c95f830841e .

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!

You can’t perform that action at this time.