Skip to content
Snippets Groups Projects
Commit 9f9ef485 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Add kolla version to base container"

parents 011da7c1 9cd603df
No related branches found
No related tags found
No related merge requests found
FROM {{ base_distro }}:{{ base_distro_tag }}
MAINTAINER {{ maintainer }}
LABEL kolla_version="{{ kolla_version }}"
{# Early failure for bases and types #}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
{% if install_type not in ['source', 'binary', 'rdo', 'rhel'] %}
......
......@@ -434,7 +434,8 @@ class KollaWorker(object):
'install_type': self.install_type,
'namespace': self.namespace,
'tag': self.tag,
'maintainer': self.maintainer}
'maintainer': self.maintainer,
'kolla_version': get_kolla_version()}
if self.include_header:
with open(self.include_header, 'r') as f:
values['include_header'] = f.read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment