From cf6e22c590caa6c60c94ed8dbca28b3491c6d069 Mon Sep 17 00:00:00 2001 From: David van der Spek <28541758+DavidSpek@users.noreply.github.com> Date: Wed, 13 Sep 2023 10:08:51 +0200 Subject: [PATCH] ci: fix setting packer cli version for validate (#450) Signed-off-by: David van der Spek --- .github/workflows/goreleaser-cd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/goreleaser-cd.yml b/.github/workflows/goreleaser-cd.yml index 3edb26bb..23168009 100644 --- a/.github/workflows/goreleaser-cd.yml +++ b/.github/workflows/goreleaser-cd.yml @@ -273,6 +273,8 @@ jobs: run: "packer init ./packer/" - name: Run `packer validate` id: validate + env: + PKR_VAR_k8s_cli_version: ${{ github.ref_name}} run: "packer validate ./packer/" - name: Run `packer build` id: build