From: Anil Belur Date: Wed, 14 Jun 2023 01:09:03 +0000 (+1000) Subject: Fix: pre-fix $HOME before var and templates X-Git-Tag: v0.13.0~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F71836%2F1;p=releng%2Fcommon-packer.git Fix: pre-fix $HOME before var and templates Issue: RELENG-4761 Change-Id: Iae022ef868236ccaf3d84bb76f87cecf941395cd Signed-off-by: Anil Belur --- diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index 5cbb79d..9e9d5fc 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -133,8 +133,8 @@ jobs: - '**' - if: steps.changes.outputs.src == 'true' run: | - varfiles=(vars/*.json common-packer/vars/*.json) - templates=(templates/*.json) + varfiles=("$HOME"/vars/*.json) + templates=("$HOME"/templates/*.json) PACKER_LOGS_DIR="/tmp" for varfile in "${varfiles[@]}"; do