From 6d5ef44e292a4649606ce8bcde36a52eba210ad9 Mon Sep 17 00:00:00 2001 From: dweinholz Date: Wed, 15 Jan 2025 15:43:51 +0100 Subject: [PATCH] fixed tag --- .github/base/packer_base.json | 2 +- packer/update_base_images.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/base/packer_base.json b/.github/base/packer_base.json index 482a5fc..4bf80cf 100644 --- a/.github/base/packer_base.json +++ b/.github/base/packer_base.json @@ -11,7 +11,7 @@ "source_image_filter":{ "filters":{ "tags":[ - "{{user `base_image_build`}}" + "{{user `base_image_build_tag`}}" ], "properties":{ "os_distro":"{{user `os_distro`}}", diff --git a/packer/update_base_images.yml b/packer/update_base_images.yml index 795bfac..444e4f8 100644 --- a/packer/update_base_images.yml +++ b/packer/update_base_images.yml @@ -25,7 +25,7 @@ - name: Set Base Image Fact ansible.builtin.set_fact: - base_images: "{{ images.images | selectattr('tags', 'search', base_image_build) + base_images: "{{ images.images | selectattr('tags', 'search', base_image_build_tag) | selectattr('os_distro', '==', os_distro) | selectattr('os_version', '==', os_version) | sort(attribute='created_at') }}"