From dfe9cc762334a6eb465c9491908a3f23c3fb896f Mon Sep 17 00:00:00 2001 From: David van der Spek Date: Wed, 13 Sep 2023 09:56:21 +0200 Subject: [PATCH] ci: fix setting packer cli version for validate 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