From 62ecce86adf70dae5ef31ff0c4ef59a98ed3e569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Mare=C5=A1?= Date: Fri, 13 Jun 2025 19:48:28 +0200 Subject: [PATCH] ci: define PACKER_CONFIG_DIR env var for caching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Vojtěch Mareš --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 749a910..89736ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,7 @@ image: variables: PACKER_LOG: 1 # enable detailed logging PACKER_VAR_FILE: "vars.pkrvars.hcl" + PACKER_CONFIG_DIR: $CI_PROJECT_DIR stages: - validate @@ -27,7 +28,7 @@ validate: cache: key: "packer-plugins" # Define a key for Packer plugins paths: - - "~/.config/packer" # Or your specific plugin path + - "$PACKER_CONFIG_DIR/.packer.d" build-image: extends: .parallel