mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 08:42:33 -04:00
Update website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
This commit is contained in:
parent
9d8b2f03f0
commit
2c5c84e514
1 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ To get started with HCP Packer, refer to the [HCP Packer documentation](/hcp/doc
|
|||
|
||||
This block is available from version 1.7.7 of Packer.
|
||||
|
||||
The presence of a `hcp_packer_registry` block in a template file will enable HCP
|
||||
Packer mode. Packer will push all builds within that template to the remote
|
||||
Add a `hcp_packer_registry` block to your template file to enable HCP
|
||||
Packer mode. When in HCP Packer mode, Packer pushes all builds in the template to the remote
|
||||
registry if the appropriate HCP credentials are set (`HCP_CLIENT_ID` and
|
||||
`HCP_CLIENT_SECRET`). If no HCP credentials are set, Packer will fail the build
|
||||
and exit immediately to avoid any potential artifact drift between the defined
|
||||
|
|
|
|||
Loading…
Reference in a new issue