diff --git a/.github/workflows/packer-ghar.yml b/.github/workflows/packer-ghar.yml index b17b7cf74..a4016b334 100644 --- a/.github/workflows/packer-ghar.yml +++ b/.github/workflows/packer-ghar.yml @@ -1,5 +1,6 @@ name: Build GHAR on: + pull_request: schedule: - cron: '30 5 1,15 * *' workflow_dispatch: diff --git a/packer/github-action-runner/variables.pkr.hcl b/packer/github-action-runner/variables.pkr.hcl index c74667534..12ef17e1d 100644 --- a/packer/github-action-runner/variables.pkr.hcl +++ b/packer/github-action-runner/variables.pkr.hcl @@ -1,3 +1,12 @@ +packer { + required_plugins { + amazon = { + version = ">= 1.1.0" + source = "github.com/hashicorp/amazon" + } + } +} + variable "skip_ami" { type = bool default = true