Merge "Handle no metadata in zuul artifact items"
This commit is contained in:
@@ -63,7 +63,7 @@
|
|||||||
skopeo --insecure-policy copy
|
skopeo --insecure-policy copy
|
||||||
{{ item.url }}
|
{{ item.url }}
|
||||||
docker://{{ buildset_registry.host }}:{{ buildset_registry.port }}/{{ item.metadata.repository }}:{{ item.metadata.tag }}
|
docker://{{ buildset_registry.host }}:{{ buildset_registry.port }}/{{ item.metadata.repository }}:{{ item.metadata.tag }}
|
||||||
when: "item.metadata.type | default('') == 'container_image'"
|
when: "metadata in item and item.metadata.type | default('') == 'container_image'"
|
||||||
loop: "{{ zuul.artifacts | default([]) }}"
|
loop: "{{ zuul.artifacts | default([]) }}"
|
||||||
always:
|
always:
|
||||||
- name: Remove docker user config
|
- name: Remove docker user config
|
||||||
|
Reference in New Issue
Block a user