diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 24f9d1c..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,15 +0,0 @@ -# `0.3.0` (UNRELEASED, 2022-08) - -* Update Dockerfile to point to packer version `1.8.2` -* Change `target` default to `.` [#17](https://github.com/hashicorp/packer-github-actions/pull/17) -* Mark `target` as not required [#17](https://github.com/hashicorp/packer-github-actions/pull/17) -* Add support for working_directory [#11](https://github.com/operatehappy/packer-github-actions/pull/11) - -## `0.2.0` (2020-03-25) - -* Adds Packer action (#1) ([d80192d](https://github.com/ksatirli/packer-github-actions/commit/d80192d)), closes [#1](https://github.com/ksatirli/packer-github-actions/issues/1) -* adds GitHub Actions for `code-quality` and `repository-management` ([2a0399e](https://github.com/ksatirli/packer-github-actions/commit/2a0399e)) - -## `0.1.0` (2020-03-24) - -* adds base files ([6f7428a](https://github.com/ksatirli/packer-github-actions/commit/6f7428a)) diff --git a/README.md b/README.md index 6e35545..fb1158b 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Other [environment variables](https://developer.hashicorp.com/packer/docs/comman ## Usage -1.) Create a GitHub Actions Workflow file (e.g.: `.github/workflows/packer.yml`): +Create a GitHub Actions Workflow file (e.g.: `.github/workflows/packer.yml`): ```yaml name: packer @@ -67,7 +67,7 @@ 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](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows). - The origin of this GitHub Action has been set as `hashicorp/setup-packer@main`. For newer versions, see the [Releases](https://github.com/hashicorp/setup-packer/releases). - The version of `packer` to set up has been set as `1.10.0`. For a complete list, see [releases.hashicorp.com](https://releases.hashicorp.com/packer/). -- The Packer manifest to interact with has been set as `./image.pkr.hcl` +- 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](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-self-hosted-runners) runners. @@ -79,6 +79,9 @@ 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 the `latest` version, this GitHub Action polls the HashiCorp [Releases API](https://api.releases.hashicorp.com/v1/releases/packer) and finds the latest released version of Packer that isn't marked as a pre-release (`is_prerelease`). + ## Outputs This section contains a list of all outputs that can be consumed from this Action.