[fix] Fix post pipeline image publish
- Set defaults so the Post Pipeline can successfully build images Change-Id: I4d50e503b888c140433635090bddae96700fec0b
This commit is contained in:
parent
e75bb2d90e
commit
f8bc1ccb85
|
@ -30,10 +30,10 @@
|
|||
- name: Determine tags
|
||||
shell: echo '{{ tags | to_json }}' | python3 {{ 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
|
||||
|
|
Loading…
Reference in New Issue