From 4db243f59308c4991b6115e4d76b09c32e3f2a08 Mon Sep 17 00:00:00 2001 From: David Danielsson Date: Tue, 18 Jun 2024 14:27:55 -0500 Subject: [PATCH] updating the pull image on build ee (#157) * modified: roles/ee_builder/tasks/00_build_ee.yml * new file: changelogs/fragments/147-pull-image.yml --- changelogs/fragments/147-pull-image.yml | 4 ++++ roles/ee_builder/tasks/00_build_ee.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/147-pull-image.yml diff --git a/changelogs/fragments/147-pull-image.yml b/changelogs/fragments/147-pull-image.yml new file mode 100644 index 0000000..a2c7eb4 --- /dev/null +++ b/changelogs/fragments/147-pull-image.yml @@ -0,0 +1,4 @@ +--- +bugfixes: + - Fixed an issue where depending on your ee base image variable location, it might not pull the correct image. +... diff --git a/roles/ee_builder/tasks/00_build_ee.yml b/roles/ee_builder/tasks/00_build_ee.yml index fca1054..90ef759 100644 --- a/roles/ee_builder/tasks/00_build_ee.yml +++ b/roles/ee_builder/tasks/00_build_ee.yml @@ -9,7 +9,7 @@ - name: Pull builder images containers.podman.podman_image: - name: "{{ __execution_environment_definition.base_image | default(ee_base_image) }}" + name: "{{ __execution_environment_definition.images.base_image | default(__execution_environment_definition.base_image) | default(ee_base_image) }}" username: "{{ ee_base_registry_username | default(omit, true) }}" password: "{{ ee_base_registry_password | default(omit, true) }}" validate_certs: "{{ ee_validate_certs | default(omit) }}"