Don't upload to the tag with buildx - only to the change tag

This is a copy/pasta error from pulling this logic over from build.
We need to upload to dockerhub but only to the change_ version
of the tag.

Change-Id: I19d1b326ad2c5b1cef846f47e667f3c3480582e7
This commit is contained in:
Monty Taylor 2020-05-07 18:17:59 -05:00
parent fa22b3d9a0
commit 64741aa73d

View File

@ -21,7 +21,6 @@
{% if zuul.change | default(false) -%} {% if zuul.change | default(false) -%}
--tag {{ zj_image.repository }}:change_{{ zuul.change }}_{{ tag }} --tag {{ zj_image.repository }}:change_{{ zuul.change }}_{{ tag }}
{% endif -%} {% endif -%}
--tag {{ zj_image.repository }}:{{ tag }}
{% endfor -%} {% endfor -%}
{% for label in zj_image.labels | default([]) -%} {% for label in zj_image.labels | default([]) -%}
--label "{{ label }}" --label "{{ label }}"