From 8dba05a3c0b7ea72b98181374e2916c16b6a0671 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Tue, 22 Jan 2019 10:20:30 +1300 Subject: [PATCH] Append to the tag on buildah commit This is consistent with the tagging done at the end of modify_image.yml, and fixes an issue with the tagged image being missing. Change-Id: Ia98d2ecaf718d6cb9d6f859bfadbbcb07acfd775 --- tasks/yum_update_buildah.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/yum_update_buildah.yml b/tasks/yum_update_buildah.yml index 88452ca..bc5d811 100644 --- a/tasks/yum_update_buildah.yml +++ b/tasks/yum_update_buildah.yml @@ -58,8 +58,8 @@ {{ from_image }} /tmp/yum_update.sh "{{ update_repo }}" -- name: Commit changes to image {{ target_image | default(source_image) }} +- name: Commit changes to image {{ target_image | default(source_image) }}{{ modified_append_tag }} command: > buildah commit {{ from_image }} - {{ target_image | default(source_image) }} + {{ target_image | default(source_image) }}{{ modified_append_tag }}