(zuul) Fix image publish job

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

Change-Id: I23d8621901e225fb7b134b276156f248720b248f
This commit is contained in:
Scott Hussey 2019-04-03 14:54:48 -05:00
parent c178634b89
commit 66ab47386f
1 changed files with 3 additions and 3 deletions

View File

@ -60,10 +60,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