Browse Source

Use list form of zuul artifact return

This relies on the list merge behavior in https://review.openstack.org/638005
however, this will work with the current code in Zuul as long as only
one artifact is returned, so a Depends-On is not necessary.

Change-Id: Ie5d3a61c8cc1038f3775a3aa81e94b9b909f265a
master
James E. Blair 3 months ago
parent
commit
7edb42008f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      roles/push-to-intermediate-registry/tasks/push.yaml

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

@@ -15,7 +15,7 @@
15 15
     data:
16 16
       zuul:
17 17
         artifacts:
18
-          "image_{{ image.repository }}:{{ image_tag }}":
18
+          - name: "image_{{ image.repository }}:{{ image_tag }}"
19 19
             url: "docker://{{ intermediate_registry.host }}:{{ intermediate_registry.port}}/{{ image.repository }}:{{ zuul.build }}_{{ image_tag}}"
20 20
             metadata:
21 21
               type: container_image

Loading…
Cancel
Save