{"repo":"hashicorp/setup-packer","free":true,"listed":false,"github":"https://github.com/hashicorp/setup-packer","clone":"git clone https://github.com/hashicorp/setup-packer.git","description":"Run HashiCorp Packer as part of your GitHub Actions Workflow","language":"HCL","stars":165,"topics":["github-actions","hashicorp","packer"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"GitHub Action: setup-packer The hashicorp/setup-packer Action sets up the Packer CLI in your GitHub Actions workflow by adding the packer binary to PATH . Table of Contents GitHub Action: setup-packer Table of Contents Requirements Usage Inputs Outputs Integrating with HCP Packer Author Information License Requirements This GitHub Actions supports all commands that are available in the packer CLI. The build command may require access to provider-specific credentials. Other environment variables (such as PACKER LOG ) may be set as normal and will be picked up accordingly. Usage Create a GitHub Actions Workflow file (e.g.: .github/workflows/packer.yml ): In the above example, the following definitions have been set. - The event trigger has been set to push . For a complete list, see Events that trigger workflows. - The origin of this GitHub Action has been set as hashicorp/setup-packer@main . For newer versions, see the Releases. - The version of packer to set up has been set as 1.10.0 . For a complete list, see releases.hashicorp.com. - The Packer manifest to interact with has been set as ./image.pkr.hcl . These definitions may require updating to suit your deployment, such as specifying self-hosted runners. Additionally, you may configure outputs to consume return values from the Action's operations. Inputs This section contains a list of all inputs that may be set for this Action. - version - The version of packer to install. Defaults to latest if unset. [!NOTE] To retrieve ","default_branch":null,"files":null,"tree":[],"storefront":"/r/hashicorp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hashicorp/setup-packer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}