Skip to content

Commit 6bd505a

Browse files
committed
[OPENJDK-2414] define name and version labels
These shadow the values from our base image which are otherwise misleading, and result in the test "Check that common labels are correctly set" passing. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 6934255 commit 6bd505a

8 files changed

+32
-0
lines changed

ubi8-openjdk-11-runtime.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ labels:
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2525
- name: "org.opencontainers.image.documentation"
2626
value: *docs
27+
- name: "name"
28+
value: *name
29+
- name: "version"
30+
value: *version
2731

2832
envs:
2933
- name: "JBOSS_IMAGE_NAME"

ubi8-openjdk-11.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ labels:
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2525
- name: "org.opencontainers.image.documentation"
2626
value: *docs
27+
- name: "name"
28+
value: *name
29+
- name: "version"
30+
value: *version
2731

2832
envs:
2933
- name: PATH

ubi8-openjdk-17-runtime.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ labels:
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2525
- name: "org.opencontainers.image.documentation"
2626
value: *docs
27+
- name: "name"
28+
value: *name
29+
- name: "version"
30+
value: *version
2731

2832
envs:
2933
- name: "JBOSS_IMAGE_NAME"

ubi8-openjdk-17.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ labels:
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2525
- name: "org.opencontainers.image.documentation"
2626
value: *docs
27+
- name: "name"
28+
value: *name
29+
- name: "version"
30+
value: *version
2731

2832
envs:
2933
- name: PATH

ubi8-openjdk-21-runtime.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ labels:
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2525
- name: "org.opencontainers.image.documentation"
2626
value: *docs
27+
- name: "name"
28+
value: *name
29+
- name: "version"
30+
value: *version
2731

2832
envs:
2933
- name: "JBOSS_IMAGE_NAME"

ubi8-openjdk-21.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ labels:
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2525
- name: "org.opencontainers.image.documentation"
2626
value: *docs
27+
- name: "name"
28+
value: *name
29+
- name: "version"
30+
value: *version
2731

2832
envs:
2933
- name: PATH

ubi8-openjdk-8-runtime.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ labels:
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2525
- name: "org.opencontainers.image.documentation"
2626
value: *docs
27+
- name: "name"
28+
value: *name
29+
- name: "version"
30+
value: *version
2731

2832
envs:
2933
- name: "JBOSS_IMAGE_NAME"

ubi8-openjdk-8.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ labels:
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2525
- name: "org.opencontainers.image.documentation"
2626
value: *docs
27+
- name: "name"
28+
value: *name
29+
- name: "version"
30+
value: *version
2731

2832
envs:
2933
- name: PATH

0 commit comments

Comments
 (0)