summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJeffrey Zhang <zhang.lei.fly@gmail.com>2018-03-20 14:46:53 +0800
committerJeffrey Zhang <zhang.lei.fly@gmail.com>2018-03-21 16:53:15 +0800
commitabc61c012ce7ae6b282fa9280516138a4d031302 (patch)
tree4289eff20f556cd7fb98278d4a12affc1702e3e0 /tests
parent0d1010ad4aae20aaf2764f0c41845d9606ca0d49 (diff)
downloadkolla-abc61c012ce7ae6b282fa9280516138a4d031302.tar.gz
kolla-abc61c012ce7ae6b282fa9280516138a4d031302.zip
Support push kolla tag image to hub.docker.com site
Change-Id: I8a21f60a37ba038e46c29d0bcff9ffbd2457a257
Diffstat (limited to 'tests')
-rw-r--r--tests/templates/kolla-build.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/templates/kolla-build.conf.j2 b/tests/templates/kolla-build.conf.j2
index 39e95ecce..994c58371 100644
--- a/tests/templates/kolla-build.conf.j2
+++ b/tests/templates/kolla-build.conf.j2
@@ -2,7 +2,7 @@
debug = true
{% if publisher %}
namespace = kolla
-tag = {{ zuul.branch | basename }}
+tag = {{ zuul.tag if zuul.pipeline == "release" else zuul.branch | basename }}
{% endif %}
push = false
logs_dir = /tmp/logs/build