We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f70b9 commit 050a141Copy full SHA for 050a141
src/Dockerfile
@@ -32,12 +32,10 @@ LABEL summary="$SUMMARY" \
32
io.openshift.s2i.assemble-user="26" \
33
name="{{ spec.img_name }}" \
34
com.redhat.component="{{ spec.redhat_component }}" \
35
-{% if spec.version not in ["9.4", "9.5", "9.6"] %}
+{% if config.os.id == "rhel" and spec.prod != "rhel10" %}
36
version="1" \
37
-{% elif spec.version == "9.6" and config.os.id == "rhel" %}
+{% elif spec.prod in ["c9s", "c10s"] %}
38
39
-{% else %}
40
- version="{{ spec.version }}" \
41
{% endif %}
42
{% if config.os.id == 'rhel' %}
43
com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#rhel" \
0 commit comments