(zuul) Fix image publish job

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

Change-Id: I39fa51ea11804db065203761c475b48d269796f4
This commit is contained in:
Scott Hussey 2019-04-03 14:51:51 -05:00
parent eb717b4c70
commit a640ebf85a

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