(zuul) Fix image publish post pipeline

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

Change-Id: I184bbdda3cf496ce652e72264423b83f43be5603
This commit is contained in:
Scott Hussey 2019-04-03 14:49:42 -05:00
parent 3b2388e20c
commit e44ad39421
1 changed files with 3 additions and 3 deletions

View File

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