Repair the previous image name

Since the migration to CentOS 8 we have been using 'centos' in
the published image names intead of 'centos8'. Fix that.

Change-Id: I65236379e93516c0fc447ce4d4edc89194e682b1
This commit is contained in:
Dmitry Tantsur 2020-11-24 16:49:32 +01:00
parent d1d3a7e555
commit 83d628c4e4
1 changed files with 2 additions and 2 deletions

View File

@ -2,14 +2,14 @@
set_fact:
image_release: 8
when:
- image_distro == "centos-minimal"
- image_distro in ["centos-minimal", "centos"]
- not image_release
- name: Generate a nice target name for CentOS
set_fact:
image_target_name: centos{{ image_release }}
when:
- image_distro == "centos-minimal"
- image_distro in ["centos-minimal", "centos"]
- not image_target_name
- name: Generate image name