Browse Source

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
changes/64/632164/8
Steve Baker 4 months ago
parent
commit
8dba05a3c0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tasks/yum_update_buildah.yml

+ 2
- 2
tasks/yum_update_buildah.yml View File

@@ -58,8 +58,8 @@
58 58
       {{ from_image }}
59 59
       /tmp/yum_update.sh "{{ update_repo }}"
60 60
 
61
-- name: Commit changes to image {{ target_image | default(source_image) }}
61
+- name: Commit changes to image {{ target_image | default(source_image) }}{{ modified_append_tag }}
62 62
   command: >
63 63
     buildah commit
64 64
       {{ from_image }}
65
-      {{ target_image | default(source_image) }}
65
+      {{ target_image | default(source_image) }}{{ modified_append_tag }}

Loading…
Cancel
Save