zuul-jobs/roles/push-to-intermediate-registry/tasks/main.yaml

11 lines
424 B
YAML

# This can be removed if we add this functionality to Zuul directly
- name: Load information from zuul_return
when: buildset_registry is not defined
set_fact:
buildset_registry: "{{ (lookup('file', zuul.executor.work_root + '/results.json') | from_json)['buildset_registry'] }}"
- name: Push image to intermediate registry
include_tasks: push.yaml
loop: "{{ docker_images }}"
loop_control:
loop_var: image