HCP Packer Action
GitHub Action for automating HCP Packer releases.
Points the specified Channel the most recent Iteration of the specified Bucket.
Table of Contents
Usage
Add the Action to your GitHub Workflow configuration:
name: HCP Packer
on:
push:
jobs:
hcp-packer:
name: hcp-packer
runs-on: ubuntu-latest
env:
HCP_CLIENT_ID: ${{ secrets.HCP_CLIENT_ID }}
HCP_CLIENT_SECRET: ${{ secrets.HCP_CLIENT_SECRET }}
HCP_ORGANIZATION_ID: ${{ secrets.HCP_ORGANIZATION_ID }}
HCP_PROJECT_ID: ${{ secrets.HCP_PROJECT_ID }}
steps:
- name: release
uses: ehassett/hcp-packer-action@main
with:
channel: foo
bucket: bar
Name |
Description |
Required |
Default |
channel |
release channel to point to most recent iteration |
yes |
|
bucket |
HCP Packer bucket to work with |
yes |
|
This Action also relies on the following environment variables:
- HCP_CLIENT_ID
- HCP_CLIENT_SECRET
- HCP_ORGANIZATION_ID
- HCP_PROJECT_ID
See more information about HCP Service Principals.
Author
This module is maintained by Ethan Hassett and the contributors listed on GitHub.
License
Licensed under the MIT License.