(zuul) Fix image publish job

- Fix post pipeline image publish job issue introduced
  by Ansible update.

Change-Id: Ifc73524a8bcd1863b374815aeb553df71ba4a568
This commit is contained in:
Scott Hussey 2019-04-03 15:03:07 -05:00
parent 976454b6b9
commit 27c9e2f00c

View File

@ -30,10 +30,10 @@
- name: Determine tags
shell: echo '{{ tags | to_json }}' | python {{ zuul.project.src_dir }}/tools/image_tags.py
environment:
BRANCH: "{{ zuul.branch }}"
CHANGE: "{{ zuul.change }}"
BRANCH: "{{ zuul.branch | default('') }}"
CHANGE: "{{ zuul.change | default('') }}"
COMMIT: "{{ zuul.newrev | default('') }}"
PATCHSET: "{{ zuul.patchset }}"
PATCHSET: "{{ zuul.patchset | default('') }}"
register: image_tags
- name: Debug computed tags