Skip to content

Commit b993c1a

Browse files
Use image name
1 parent a34f927 commit b993c1a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/overcloud-host-image-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ jobs:
242242
src/kayobe-config/etc/kayobe/ansible/pulp-image-upload.yml \
243243
-e image_path=/opt/kayobe/images/overcloud-rocky-9 \
244244
-e image_tag=${{ steps.host_image_tag.outputs.host_image_tag }} \
245+
-e image_name="kayobe-images" \
245246
-e os_distribution="rocky" \
246247
-e os_release="9"
247248
env:
@@ -294,6 +295,7 @@ jobs:
294295
src/kayobe-config/etc/kayobe/ansible/pulp-image-upload.yml \
295296
-e image_path=/opt/kayobe/images/overcloud-ubuntu-jammy \
296297
-e image_tag=${{ steps.host_image_tag.outputs.host_image_tag }} \
298+
-e image_name="kayobe-images" \
297299
-e os_distribution="ubuntu" \
298300
-e os_release="jammy"
299301
env:

etc/kayobe/ansible/pulp-image-upload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
remote_pulp_url: "{{ stackhpc_release_pulp_url }}"
66
remote_pulp_username: "{{ stackhpc_image_repository_username }}"
77
remote_pulp_password: "{{ stackhpc_image_repository_password }}"
8-
repository_name: "kayobe-images-{{ openstack_release }}-{{ os_distribution }}-{{ os_release }}"
9-
pulp_base_path: "kayobe-images/{{ openstack_release }}/{{ os_distribution }}/{{ os_release }}"
8+
repository_name: "{{ image_name }}-{{ openstack_release }}-{{ os_distribution }}-{{ os_release }}"
9+
pulp_base_path: "{{ image_name }}/{{ openstack_release }}/{{ os_distribution }}/{{ os_release }}"
1010
file_extension: 'qcow2'
1111
tasks:
1212
- name: Print image tag

0 commit comments

Comments
 (0)