Browse Source

Correct host variable in push-to-intermediate-registry

Change-Id: I4472fde0c7b35bf9b7d54e29e02c6a49280cd714
changes/10/637310/1
James E. Blair 3 months ago
parent
commit
e6b1d2aa06
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      roles/push-to-intermediate-registry/tasks/push.yaml

+ 2
- 2
roles/push-to-intermediate-registry/tasks/push.yaml View File

@@ -4,7 +4,7 @@
4 4
     --src-creds={{ buildset_registry.username }}:{{ buildset_registry.password }}
5 5
     --dest-creds={{ intermediate_registry.username }}:{{ intermediate_registry.password }}
6 6
     docker://{{ buildset_registry.host }}:{{ buildset_registry.port }}/{{ image.repository }}:{{ image_tag }}
7
-    docker://{{ intermediate_registry.hostname }}:{{ intermediate_registry.port}}/{{ image.repository }}:{{ zuul.build }}_{{ image_tag}}
7
+    docker://{{ intermediate_registry.host }}:{{ intermediate_registry.port}}/{{ image.repository }}:{{ zuul.build }}_{{ image_tag}}
8 8
   loop: "{{ image.tags | default(['latest']) }}"
9 9
   loop_control:
10 10
     loop_var: image_tag
@@ -16,7 +16,7 @@
16 16
       zuul:
17 17
         artifacts:
18 18
           "image_{{ image.repository }}:{{ image_tag }}":
19
-            url: "docker://{{ intermediate_registry.hostname }}:{{ intermediate_registry.port}}/{{ image.repository }}:{{ zuul.build }}_{{ image_tag}}"
19
+            url: "docker://{{ intermediate_registry.host }}:{{ intermediate_registry.port}}/{{ image.repository }}:{{ zuul.build }}_{{ image_tag}}"
20 20
             metadata:
21 21
               type: container_image
22 22
               repository: "{{ image.repository }}"

Loading…
Cancel
Save