hcp-packer-action

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 8 Imported by: 0

README

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
Inputs
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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL