Skip to content

Commit 050a141

Browse files
committed
Remove 'version' label from Dockerfile.rhel10
Konflux build pipeline needs it. See https://issues.redhat.com/browse/RHELMISC-17288 Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent b0f70b9 commit 050a141

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ LABEL summary="$SUMMARY" \
3232
io.openshift.s2i.assemble-user="26" \
3333
name="{{ spec.img_name }}" \
3434
com.redhat.component="{{ spec.redhat_component }}" \
35-
{% if spec.version not in ["9.4", "9.5", "9.6"] %}
35+
{% if config.os.id == "rhel" and spec.prod != "rhel10" %}
3636
version="1" \
37-
{% elif spec.version == "9.6" and config.os.id == "rhel" %}
37+
{% elif spec.prod in ["c9s", "c10s"] %}
3838
version="1" \
39-
{% else %}
40-
version="{{ spec.version }}" \
4139
{% endif %}
4240
{% if config.os.id == 'rhel' %}
4341
com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#rhel" \

0 commit comments

Comments
 (0)